This is the mail archive of the
ecos-maintainers@sources.redhat.com
mailing list for the eCos project.
Re: FWD: [ECOS] Only return EWOULDBLOCK if no data moved
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: Andrew Lunn <andrew at lunn dot ch>
- Cc: eCos Maintainers <ecos-maintainers at ecos dot sourceware dot org>
- Date: 16 Feb 2004 16:14:18 +0000
- Subject: Re: FWD: [ECOS] Only return EWOULDBLOCK if no data moved
- References: <20040216155347.GB29388@lunn.ch>
Andrew Lunn <andrew@lunn.ch> writes:
> Hi Folks
>
> What do people think about this patch?
>
> Should be apply it, or try to fix the network stack?
I think it is OK to apply this patch as it stands. In theory it makes
it slightly easier to write filesystems/devices/netstacks. However,
since EWOULDBLOCK and EAGAIN are actually synonyms, there is no need
to check for both.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com The eCos and RedBoot experts