)]}'
{
  "commit": "b06fd9d7b8d2789fccabfcbf3f5125d828543a6f",
  "tree": "497a44173a31ac1e0b3d27e68d0aa449e30eb5b4",
  "parents": [
    "6b2176247a83644113aa209acbeeaf8cdc78a8fa"
  ],
  "author": {
    "name": "Pali Rohár",
    "email": "pali.rohar@gmail.com",
    "time": "Sun Apr 13 18:34:32 2025 +0200"
  },
  "committer": {
    "name": "Martin Storsjö",
    "email": "martin@martin.st",
    "time": "Mon May 05 23:43:59 2025 +0300"
  },
  "message": "crt: Provide emulation of _fstat64, _stat64 and _wstat64 functions\n\nThese functions are available since msvcr70.dll. For older msvcrt versions\nprovide emulation via _fstat32(), _stat32() and _wstat32() functions. These\nfunctions in all pre-msvcr100 CRT libraries provides only truncated 32-bit\nfile size and invalid value -1 as timestamp.\n\nThe real 64-bit non-truncated file size and valid timestamp information is\nretrieved via the WinAPI calls.\n\nFor _stat64() and _wstat64() use WinAPI FindFirstFile() call. And for\n_fstat64() use WinAPI GetFileInformationByHandle() call. Same thing is\ndoing msvcrt DLL library for other stat functions. Note that both WinAPI\nfunctions are available in all Windows version (since the Windows NT 3.1\nand the Windows 95).\n\nFunctions _fstat64() and _stat64() are already used by mingw-w64 crt, so\nensure that they are present in every CRT import library.\n\nSigned-off-by: Martin Storsjö \u003cmartin@martin.st\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "04b61c429d34aebb78f18ce047d0fe545ecc8005",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/Makefile.am",
      "new_id": "32187b8391f2210ac166c433857c9b13f7aa9d4e",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/Makefile.am"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2d8459844a5f9e99b87b9458b9042a9d50d44090",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/include/filetime_to_time64.h"
    },
    {
      "type": "modify",
      "old_id": "681b491867f5f8edf06853c2062ec28df3c2db81",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/lib-common/msvcrt.def.in",
      "new_id": "2df0c026a7d03e7bd2d8cc03dba110d6f78cf103",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/lib-common/msvcrt.def.in"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8df51a42aad90370db6a3ec187d601ec6e9b4eec",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/stdio/_fstat64.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2edab1e4e1f2b47406286ed765b9b0321f59d0b0",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/stdio/_stat64.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "1ffaf6227a5ba090f4c232eb83ec9278ad574b24",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/stdio/_wstat64.c"
    }
  ]
}
