GNU bug report logs -
#15933
make check not working
Previous Next
Full log
View this message in rfc822 format
> From: Glenn Morris <rgm <at> gnu.org>
> Cc: 15933 <at> debbugs.gnu.org, andrewjmoreton <at> gmail.com
> Date: Wed, 20 Nov 2013 14:14:29 -0500
>
> Glenn Morris wrote:
>
> > Eli Zaretskii wrote:
> >
> >> since the MSYS Bash will automatically convert ':' into ';'.)
> >
> > Amazingly, not something I was aware of.
>
> I mean, how does that even work?
When MSYS invokes a native Windows program (as opposed to an MSYS
program), it converts : into ; in PATH and similar environment
variables, and also in the argv[] array it passes to the native
program.
> Does
>
> echo :foo
>
> print ";foo"?
No, because 'echo' is a shell builtin. But if you invoke echo.exe
that is a native Windows program (e.g., compiled with MinGW, then yes,
it will print ";foo".
> Does
>
> : foo
>
> return a syntax error?
No (if it did, it would break too many shell scripts). The conversion
only happens in environment and in argv[] passed to native programs.
This bug report was last modified 11 years and 228 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.