)]}'
{
  "commit": "ac8c26f633b01bb32cdf347f9dbd5a80c6712925",
  "tree": "37a4d6becbd45b50864e15cdb72d2ab7eb597c8c",
  "parents": [
    "0d185e638861bd9b05b2abb43774a368cadabd38"
  ],
  "author": {
    "name": "Laszlo Ersek",
    "email": "lersek@redhat.com",
    "time": "Tue Jul 16 20:19:40 2013 +0200"
  },
  "committer": {
    "name": "Anthony Liguori",
    "email": "aliguori@us.ibm.com",
    "time": "Thu Jul 18 11:22:56 2013 -0500"
  },
  "message": "char: io_channel_send: don\u0027t lose written bytes\n\nThe g_io_channel_write_chars() documentation states,\n\n  bytes_written: The number of bytes written. This can be nonzero even if\n                 the return value is not G_IO_STATUS_NORMAL. [...]\n\nio_channel_send() could lose such bytes before.\n\nFurthermore, the (status \u003d\u003d G_IO_STATUS_EOF) condition used to evaluate to\nconstant false whenever it was reached. When that condition actually held,\nit always led to -1 / EINVAL. This patch (almost) distinguishes\nG_IO_STATUS_EOF only when no bytes have been written, and then treats it\nas an error.\n\nSigned-off-by: Laszlo Ersek \u003clersek@redhat.com\u003e\nReviewed-by: Amit Shah \u003camit.shah@redhat.com\u003e\nReviewed-by: Anthony Liguori \u003caliguori@us.ibm.com\u003e\nMessage-id: 1373998781-29561-2-git-send-email-lersek@redhat.com\nSigned-off-by: Anthony Liguori \u003caliguori@us.ibm.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "800d6a62f929aa2dd59eb6f4b4b174d3ba8221b6",
      "old_mode": 33188,
      "old_path": "qemu-char.c",
      "new_id": "c86ce4ba2e0c6a79f90ecbdbaa014b3f2d4d9f87",
      "new_mode": 33188,
      "new_path": "qemu-char.c"
    }
  ]
}
