apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: Workaround for linux/hppa bug
Date Wed, 24 Jun 2009 07:09:52 GMT
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...


Mime
View raw message