[ECOS] Only return EWOULDBLOCK if no data moved
Roland Caßebohm
roland.cassebohm@visionsystems.de
Tue Jan 27 17:03:00 GMT 2004
Hello,
both TCP/IP stacks could return EWOULDBLOCK even if there are data moved
in some cases.
My first solution was the attached patch, but maybe it is better to fix
the problem in the stacks it self?
I have seen there was a semilar problem in the serial driver:
2003-03-20 Gary Thomas <gary@mlbassoc.com>
* src/common/serial.c: Only return -EAGAIN if no data moved.
The attached patch would fix it for all possible places where something
like this could happen.
Any suggestions?
Roland
-------------- next part --------------
A non-text attachment was scrubbed...
Name: io_fileio_2004_01_27.diff
Type: text/x-diff
Size: 849 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20040127/b74bd2b8/attachment.bin>
-------------- next part --------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list