On 24.06.2009 01:26, Bojan Smojver wrote:
> On Tue, 2009-06-23 at 22:07 +0200, Stefan Fritsch wrote:
>> there is a long standing bug in the Linux/hppa kernel that flock() 
>> returns EAGAIN and not EWOULDBLOCK. On all other architectures, these 
>> two are defined to be the same. This causes testprocmutex to fail.
> 
> Yeah, in fact, I see this in /usr/include/asm-generic/errno.h on Fedora
> 11:
> 
> #define EWOULDBLOCK     EAGAIN  /* Operation would block */

The same for Solaris Sparc 8+10 in /usr/include/sys/errno.h.

> If nobody complains, I'm going to put you patch in. I'm not sure what
> other Unix flavours have here...

Reply via email to