)]}'
{
  "commit": "2e384d4f44f15e560b2a068e0ed866438aaa7cd7",
  "tree": "57e59d6af7e7a76acfd3879885e399b509b78951",
  "parents": [
    "32235d90951b4b7c2976c61a28c30d82cb7a7588"
  ],
  "author": {
    "name": "H.J. Lu",
    "email": "hjl.tools@gmail.com",
    "time": "Wed Mar 13 06:31:28 2024 -0700"
  },
  "committer": {
    "name": "H.J. Lu",
    "email": "hjl.tools@gmail.com",
    "time": "Wed Mar 13 06:55:44 2024 -0700"
  },
  "message": "bfd: Use MAP_FAILED for mmap failure\n\nUse MAP_FAILED, instead of ((void *) -1), for mmap failure and use\n((void *) -1) only if MAP_FAILED is undefined.\n\n\t* bfdio.c (bfd_mmap): Replace (void *) -1 with MAP_FAILED for\n\tmmap failure.\n\t* bfdwin.c: Don\u0027t include \u003csys/mman.h\u003e.\n\t(MAP_FILE): Removed.\n\t(bfd_get_file_window): Replace (void *) -1 with MAP_FAILED for\n\tmmap failure.\n\t* cache.c: Don\u0027t include \u003csys/mman.h\u003e.\n\t(cache_bmmap): Replace (void *) -1 with MAP_FAILED for mmap\n\tfailure.\n\t* opncls.c (opncls_bmmap): Likewise.\n\t* sysdep.h: Include \u003csys/mman.h\u003e if HAVE_MMAP is define.\n\t(MAP_FILE): New.  Defined as 0 if undefined.\n\t(MAP_FAILED): New.  Defined as ((void *) -1) if undefined.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ab3e28ea20498ee1cc169c0efbda1f4267f8da03",
      "old_mode": 33188,
      "old_path": "bfd/bfdio.c",
      "new_id": "1572de00ad497bb5aef0af54afe8fc27ddfffcca",
      "new_mode": 33188,
      "new_path": "bfd/bfdio.c"
    },
    {
      "type": "modify",
      "old_id": "beb17398744d8c3522516d7bae4133691dbbd29c",
      "old_mode": 33188,
      "old_path": "bfd/bfdwin.c",
      "new_id": "2919c71b3cbd7ed61ff22774e8303e4e74ad8cec",
      "new_mode": 33188,
      "new_path": "bfd/bfdwin.c"
    },
    {
      "type": "modify",
      "old_id": "4c00c00f8d5553d55dbe936567a8b35ae3bfda58",
      "old_mode": 33188,
      "old_path": "bfd/cache.c",
      "new_id": "3bc2afc9f3609b90ada79a498c181cf687aa7be8",
      "new_mode": 33188,
      "new_path": "bfd/cache.c"
    },
    {
      "type": "modify",
      "old_id": "a0a5c40fba89bdd6f25f092e04871bb384e6a2f2",
      "old_mode": 33188,
      "old_path": "bfd/opncls.c",
      "new_id": "096672475c4b1c5ae1c68a5d9cf2136a68db6504",
      "new_mode": 33188,
      "new_path": "bfd/opncls.c"
    },
    {
      "type": "modify",
      "old_id": "a57666573459519ba99a453c5d440a96d6d806cc",
      "old_mode": 33188,
      "old_path": "bfd/sysdep.h",
      "new_id": "b907bc26a09b5d62f3fb0d608ec13d2656a24ef6",
      "new_mode": 33188,
      "new_path": "bfd/sysdep.h"
    },
    {
      "type": "modify",
      "old_id": "b0ca9908b17ba2b8e007108dcf265fe60a4df44e",
      "old_mode": 33188,
      "old_path": "bfd/vms-lib.c",
      "new_id": "592a57fbe68db5d8bdd2985d69eb59dbf146097b",
      "new_mode": 33188,
      "new_path": "bfd/vms-lib.c"
    }
  ]
}
