(write_serial): fix the variable holding the return value of write(2) which is a...
commit2a371aa90a58ed2375af527ebd15c6475da8b6db
authorMiguel de Icaza <miguel@gnome.org>
Mon, 19 Mar 2012 15:31:46 +0000 (19 11:31 -0400)
committerMiguel de Icaza <miguel@gnome.org>
Mon, 19 Mar 2012 15:39:02 +0000 (19 11:39 -0400)
tree1a0c3bf1ecb27c7b9ff09eec0bedaa6126c4d400
parent6c037f1efda16832b3eac935f70f79571b6c9bae
(write_serial): fix the variable holding the return value of write(2) which is a ssize_t, not a size_t.   This fixed a problem where we would not exit the loop, as negative values would never be set, fix from GitHub.com's konrad-kruczynski
support/serial.c