bug-gnulib
[Top][All Lists]
Advanced

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

Re: dup2 on mingw


From: Bruno Haible
Subject: Re: dup2 on mingw
Date: Tue, 21 Jul 2009 02:00:55 +0200
User-agent: KMail/1.9.9

Eric Blake wrote:
> On mingw, dup2 always returns 0 for success, rather than the fd just opened.
> So I guess I'll start the process of writing a dup2 replacement module;

Yes, that's definitely a portability pitfall that warrants a wrapper module.

Bruno




reply via email to

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