apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject Re: Workaround for linux/hppa bug
Date Tue, 23 Jun 2009 23:26:11 GMT
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


Mime
View raw message