On 06/29/2011 04:00 PM, Eric Blake wrote:
> I don't know of any race-free way to work around a cygwin crash:
> http://cygwin.com/ml/cygwin/2011-06/msg00328.html - we could
> always open() and then close() two fds to guess whether two
> spare fd still remain before calling pipe(), but that is racy.

And without a race-free way to work around the cygwin bug, I don't know
of any way to test this particular property of pipe in the gnulib unit
tests.  I guess we could modify the unit tests and #ifdef that portion
out if we detect broken cygwin (hopefully cygwin 1.7.10 will be fixed).

-- 
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to