)]}'
{
  "commit": "7a6bce62a7b178c141a4dfc5e73b6b9ad80db84e",
  "tree": "c7655661e4f347e2f5a3fa3b2ce21e0bbd17b675",
  "parents": [
    "c3685189816e538f5db89e68d1151c5601dc9e52"
  ],
  "author": {
    "name": "David Hendricks",
    "email": "david.hendricks@gmail.com",
    "time": "Thu Jul 02 09:36:50 2020 -0700"
  },
  "committer": {
    "name": "Nico Huber",
    "email": "nico.h@gmx.de",
    "time": "Thu Jan 05 16:07:04 2023 +0000"
  },
  "message": "serial: Fix file read/write error handling for Windows\n\nFile read/write semantics are different between POSIX and Windows. In\nparticular Windows file read/write functions return a boolean type to\nindicate success or failure, while the POSIX equivalents return a\nsigned integer indicating number of bytes read if successful or -1 if\nnot.\n\nThis attempts to correct some error handling paths for Windows and\navoid invalid comparisons that were causing compilation issues.\n\nReported on https://github.com/flashrom/flashrom/issues/149\n\nChange-Id: Ib179d51ede2dbd38f54f3641bfe90340a6a87e31\nSigned-off-by: David Hendricks \u003cdavid.hendricks@gmail.com\u003e\nOriginal-Reviewed-on: https://review.coreboot.org/c/flashrom/+/43051\nOriginal-Reviewed-by: Angel Pons \u003cth3fanbus@gmail.com\u003e\nReviewed-on: https://review.coreboot.org/c/flashrom-stable/+/71314\nReviewed-by: Nico Huber \u003cnico.h@gmx.de\u003e\nTested-by: build bot (Jenkins) \u003cno-reply@coreboot.org\u003e\nReviewed-by: Angel Pons \u003cth3fanbus@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3a99dbff181fc7604592f9a7f2b216f78b54f886",
      "old_mode": 33188,
      "old_path": "serial.c",
      "new_id": "76d34a2636cbce47fd58110d6f8a9e34feee93d4",
      "new_mode": 33188,
      "new_path": "serial.c"
    }
  ]
}
