bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 4/4] pipe2: fix O_NONBLOCK support on mingw


From: Eric Blake
Subject: Re: [PATCH 4/4] pipe2: fix O_NONBLOCK support on mingw
Date: Thu, 02 Jun 2011 16:20:58 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10

On 06/02/2011 04:15 PM, Bruno Haible wrote:
> Eric Blake wrote on 2011-04-08:
>> * modules/pipe2 (Depends-on): Add nonblocking.
>> * lib/pipe2.c (pipe2) [WIN32]: Add O_NONBLOCK support.
>> * tests/test-pipe2.c (is_nonblocking): Adjust test accordingly.
> 
> This dependency is not warranted and causes trouble in gettext.
> 
> It's not warranted, because if someone calls pipe2() without the O_NONBLOCK
> flag, no non-blocking support is needed in stdio.

That is, pipe2 is useful enough in isolation, but not full-featured
unless nonblocking is also in use.  Fair enough, and nice patch.

Before you apply, though, please also update
docs/glibc-functions/pipe2.texi to document which modules are needed.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]