)]}'
{
  "commit": "250bb18f032236e7b26f42994437ac09f26b2872",
  "tree": "5c9130fbfc47aae1e730746870e02330333277e3",
  "parents": [
    "ca6f2f8387347096df13f9b7a993ebb9cbcefe55"
  ],
  "author": {
    "name": "Peter0x44",
    "email": "peter0x44@disroot.org",
    "time": "Thu Apr 09 18:42:58 2026 +0100"
  },
  "committer": {
    "name": "LIU Hao",
    "email": "lh_mouse@126.com",
    "time": "Sat Apr 11 16:12:04 2026 +0800"
  },
  "message": "crt: add C23 string.h and memory.h functions\n\nC23 adds the following functions to string.h and memory.h:\nmemset_explicit(void *s, int c, size_t n)\nmemccpy(void *dest, const void *src, int c, size_t n)\nstrdup(const char *s)\nstrndup(const char *s, size_t n)\n\nAdd a libmingwex implementation of strndup and declare it in string.h for C23.\n\nAlso expose strdup and memccpy as C23 functions independently of NO_OLDNAMES,\nwhile keeping the deprecated oldname declarations for pre-C23 builds.\n\nI didn\u0027t implement memset_explicit because I am not really sure how to.\n\nSigned-off-by: LIU Hao \u003clh_mouse@126.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1d85c9db3e434acd8a85e67ac45376ace9463e80",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/Makefile.am",
      "new_id": "9b5ef0f6d6c00e1d9850455c55865bba36dca60f",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/Makefile.am"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "33134061ba98d2ba6e224aa1473d22596d00dc13",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/misc/strndup.c"
    },
    {
      "type": "modify",
      "old_id": "f48f416ded43e5c8dd271f7c96b92a0848f9a9a5",
      "old_mode": 33188,
      "old_path": "mingw-w64-headers/crt/memory.h",
      "new_id": "4910a7ba5f83583f019c7f7e11e4e134379ed180",
      "new_mode": 33188,
      "new_path": "mingw-w64-headers/crt/memory.h"
    },
    {
      "type": "modify",
      "old_id": "2f1c5cb1fcfae96d29268a60f3a77427e1d82497",
      "old_mode": 33188,
      "old_path": "mingw-w64-headers/crt/string.h",
      "new_id": "ab7291140f201df05f2441cec7302f379306b179",
      "new_mode": 33188,
      "new_path": "mingw-w64-headers/crt/string.h"
    }
  ]
}
