[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fix mkostemp, add pipe2-safer
From: |
Bruno Haible |
Subject: |
Re: fix mkostemp, add pipe2-safer |
Date: |
Wed, 9 Dec 2009 11:24:41 +0100 |
User-agent: |
KMail/1.9.9 |
Eric Blake wrote:
> On cygwin, native fcntl(F_DUPFD), dup, and dup2; and our
> version of dup_cloexec, already copy the text/binary mode of the source.
> So why not make mingw do the same, rather than blindly slamming to O_BINARY.
> ...
> Here's what I've tested on mingw and cygwin; now pushed.
Looks very fine. Thanks!
Bruno