)]}'
{
  "commit": "b05cf93fc483267baff84bc86a346e643b14016f",
  "tree": "85aca7426adfa3d301865bb4d8ab97d0657f71be",
  "parents": [
    "8751178d5afff9293aad5e1c28cfe72a5ae722b4"
  ],
  "author": {
    "name": "Pali Rohár",
    "email": "pali.rohar@gmail.com",
    "time": "Fri Aug 15 23:28:44 2025 +0200"
  },
  "committer": {
    "name": "Martin Storsjö",
    "email": "martin@martin.st",
    "time": "Wed Aug 20 23:48:26 2025 +0300"
  },
  "message": "crt: Improve support for ___lc_codepage_func() function\n\nCRT libraries msvcrt.dll and msvcrtd.dll since their first version from\nVisual C++ 4.2 provide symbol for global variable __lc_codepage.\n\nSo do not use GetProcAddress() for __lc_codepage symbol and instead\ndirectly reference it at compile time. It means that the setlocale() hack\nis not needed to compile for msvcrt.dll and msvcrtd.dll builds at all.\n\nSplit the current lc_locale_func.c source file into two files:\n___lc_codepage_func.c and ___lc_codepage_func_emul.c.\n\nSource file ___lc_codepage_func.c will use either ___lc_codepage_func() via\nGetProcAddress() for msvcrt.dll builds or fallback to __lc_codepage global\nvariable by direct reference.\n\nSource file ___lc_codepage_func_emul.c will use emulation via the\nsetlocale() hack. This is needed only for msvcrt40.dll and older CRTs.\n\nSigned-off-by: Martin Storsjö \u003cmartin@martin.st\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6cabe04c171d5480f7e266bd56b7ad96bb5ab7af",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/Makefile.am",
      "new_id": "498b6731b8a7939faed1974ace86aae13dd8736a",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/Makefile.am"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "91ef999c6643a51b717d20e68b3413d67e2a282f",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/misc/___lc_codepage_func.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4df3dcb18f4791e46b0acc1c9abc55432db362e7",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/misc/___lc_codepage_func_emul.c"
    },
    {
      "type": "delete",
      "old_id": "8f9ccd4b14e17dcc008782de7d3d1929d4e30a23",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/misc/lc_locale_func.c",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    }
  ]
}
