[parisc-linux] definition of EWOULDBLOCK in /usr/include/asm/errno.h

Jochen Friedrich jochen@scram.de
Tue, 10 Sep 2002 22:22:07 +0200 (CEST)


Hi Randolph,

> Portability Note: In many older Unix systems, this condition was indicated by EWOULDBLOCK, which was a distinct error code different from EAGAIN. To make your program portable, you should check for both codes and treat them the same.
>
> sounds like good advice to me.. :-)

It's fixed this way in current zebra CVS. However, there might be other
applications which might be hit by this, as well.

Cheers,
--jochen