bug-gnulib
[Top][All Lists]
Advanced

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

Re: new modules 'open', 'fopen', 'freopen'


From: Bruno Haible
Subject: Re: new modules 'open', 'fopen', 'freopen'
Date: Sun, 7 Oct 2007 14:18:43 +0200
User-agent: KMail/1.5.4

Brian Dessent wrote:
> Eric Blake wrote:
> > This is because the msys shell is specially compiled with a hack that
> > alters command line arguments that look like filenames into their windows
> > equivalent, before invoking the child program.  ...
> 
> This is not true, the argument translation is done in the MSYS libc
> runtime not in the shell, so it happens automatically whenever any MSYS
> binary exec()s a non-MSYS binary.

Indeed: The conversion is done in msys-1.0.10-src.tar.bz2, file
msys/1.0/10/rt/src/winsup/cygwin/spawn.cc, function spawn_guts() - a hacked
version of the original Cygwin spawn.cc.

Bruno





reply via email to

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