Mail Archives: djgpp-workers/2003/08/30/09:36:30
Something to look at...
------- Start of forwarded message -------
From: Jason Hood <jadoxa AT yahoo DOT com DOT au>
Newsgroups: comp.os.msdos.djgpp
Subject: Quoting Response Files
Date: Sat, 30 Aug 2003 15:31:50 +1000
X-Accept-Language: en,pdf
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com
It is not possible to quote a response file (@list) to prevent it
from being expanded. ie: 'prog @list' and 'prog "@list"' will both
use the contents of list as arguments. This appears to be due to a
bug in src/libc/crt0/c1args.c - it will only say an argument was
quoted if it contains wildcard characters, meaning the quoted test
is always false when it tests for '@'. This could be fixed by either
removing the wildcard test (which makes sense to me - why say an
argument wasn't quoted when it was?) or add another test for '@'.
Jason.
------- End of forwarded message -------
- Raw text -