)]}'
{
  "commit": "e918783af13dc52eeddaaf67492b9e073630f1d5",
  "tree": "230583ff38e05705223f3ca6b536be6e7314fe95",
  "parents": [
    "0b3564e36dc799c2a9bd09667fd3c9746962bbd5"
  ],
  "author": {
    "name": "Stephanos Ioannidis",
    "email": "root@stephanos.io",
    "time": "Mon Jul 11 19:06:12 2022 +0900"
  },
  "committer": {
    "name": "Stephanos Ioannidis",
    "email": "root@stephanos.io",
    "time": "Fri Aug 19 02:47:50 2022 +0900"
  },
  "message": "lib: libc: minimal: Define off_t as intptr_t\n\nThe `off_t` type, which is specified by the POSIX standard as a signed\ninteger type representing file sizes, was defined as `long` or `int`\ndepending on the target architecture without a clear explanation on why\nit was defined as such.\n\nWhile the POSIX standard does not specify the size requirement of the\n`off_t` type, it generally corresponds to the size of a pointer in\npractice, mainly because the optimal file handling size is closely tied\nto the native pointer size.\n\nFor this reason, this commit removes the per-architecture `off_t`\ndefinition and defines it as `intptr_t` such that its size always\nmatches the native pointer size.\n\nNote that the toolchain-defined `__INTPTR_TYPE__` macro is used instead\nof the `intptr_t` typedef as per the common convention used in the C\nstandard library headers.\n\nSigned-off-by: Stephanos Ioannidis \u003croot@stephanos.io\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ba4eb5352ffb10b8389274b0129104c1e2382d64",
      "old_mode": 33188,
      "old_path": "lib/libc/minimal/include/sys/types.h",
      "new_id": "19628ecef2f577854bc8b5bbfb6b45952fdc0b3a",
      "new_mode": 33188,
      "new_path": "lib/libc/minimal/include/sys/types.h"
    }
  ]
}
