Fix for non-blocking serial write result code
Dan Jakubiec
djakubiec@yahoo.com
Mon Jan 12 15:12:00 GMT 2004
Attached for your review is a fix for non-blocking serial writes.
Currently, if the output stream on a non-blocking serial device cannot
accept any data, serial_write() will return ENOERR with 0 bytes
written.
The correct behavior is for serial_write() to return EAGAIN. This bug
looks like a copy-paste error that was introduce in rev 1.18 of
serial.c.
Thanks,
--
Dan Jakubiec
Systech Corp
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: serial_write.pat
Type: application/octet-stream
Size: 1596 bytes
Desc: serial_write.pat
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20040112/a3a373f6/attachment.obj>
More information about the Ecos-patches
mailing list