This is the mail archive of the ecos-maintainers@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FWD: [ECOS] Only return EWOULDBLOCK if no data moved


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]