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 */

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

-- 
Bojan

Reply via email to