[parisc-linux] EWOULDBLOCK vs. EAGAIN

Randolph Chung Randolph Chung <randolph@tausq.org>
Tue, 22 Oct 2002 08:32:15 -0700


> I found a bug last night where a program was expecting EWOULDBLOCK, but
> we were returning EAGAIN. The kernel returns EAGAIN, which is correct.
> However, the Gnu C library says that EWOULDBLOCK should be defined as the
> same thing. We didn't do that on parisc linux. Probably because we
> borrowed our errno's from HP-UX. But that is wrong.

jsm,

this was discussed briefly before, but no one has fixed it yet ... 
see Carlos' post on this subject:
http://lists.parisc-linux.org/hypermail/parisc-linux/9895.html

if people think that is a good solution, we can try to do it.

randolph
--  
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/