(write_serial): fix the variable holding the return value of write(2) which is a...
authorMiguel de Icaza <miguel@gnome.org>
Mon, 19 Mar 2012 15:31:46 +0000 (11:31 -0400)
committerMiguel de Icaza <miguel@gnome.org>
Mon, 19 Mar 2012 15:31:55 +0000 (11:31 -0400)
commit99209c62ee6a4c363ca9bb08377ffb4cb21620f6
tree09fe9ef3eeadb3a970aabace0c8760cd6a67f742
parent30c89a6bc98e8c3b19c3a09ed9b2ecdf87391e57
(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