bug-gnulib
[Top][All Lists]
Advanced

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

Re: O_CLOEXEC support


From: Paolo Bonzini
Subject: Re: O_CLOEXEC support
Date: Sat, 22 Aug 2009 17:43:18 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3

On 08/22/2009 03:25 PM, Bruno Haible wrote:
Eric Blake wrote:
we also need to
tweak the O_NOINHERIT flag of an existing fd without having to use dup in
cloexec.c (I'm hoping the windows functions GetHandleInformation and
SetHandleInformation work here).

I don't see how to make it work without a lot of dup() calls and without
assuming that O_APPEND is not being used.

I don't understand the problem. Certainly I'm using SetHandleInformation in GNU Smalltalk for sockets.

Paolo




reply via email to

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