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