This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 4.2 Project: "@file" support


> Unless the @file contains a file that begins with a '\@' that got passed
> on to gcc, presumably.  I guess that would mean that you'd need to do
> some complicated quoting to actually pass a file beginning with '@' to
> gcc.

That's why DJGPP silently ignores @files that don't correspond to
files.  If you have some file @123.txt but don't have file 123.txt,
pass "@123.txt" to the program and it sees "@123.txt" in argv[].

The only time it's a problem is if you hae both @123.txt and 123.txt
as real files, then you can't pass "@123.txt" to argv[] without
quoting it (./@123.txt).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]