Last pre-vacation patch (was Re: STC for libapr fcntl failure)

David Rothenberger
Sun May 26 18:51:00 GMT 2013

On 4/26/2013 11:33 AM, Corinna Vinschen wrote:
> On Apr 26 08:59, David Rothenberger wrote:
>> The libapr1 tests are failing for Cygwin 64-bit when trying to use
>> fcntl(3) for process mutexes. Calling fcntl() to acquire the lock
>> currently fails with a "lock: Bad address" error.
>> I've attached a simple test case that demonstrates the problem. Just
>> run "make" to build and run it.
> Hi David,
> this is a bug in newlib which defines fcntl as a function taking three
> int parameters, rather than two ints and the rest as variadic args
> as it would have been correct.
> I worked around that in Cygwin for now(*) and I'm uploading a new
> 1.7.19-3 package while I'm writing this mail.  Should be available
> in 10 minutes or so.
> (*) Actually, that will be the final fix for Cygwin.  Nevertheless, I
>     would be glad if you could nudge me after my vacation again, to
>     remind me that this problem also needs a newlib fix.


David Rothenberger  ----

character density, n.:
        The number of very weird people in the office.

More information about the Cygwin-apps mailing list