delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/08/30/09:36:30

Date: Sat, 30 Aug 2003 09:36:13 -0400
Message-Id: <200308301336.h7UDaDT8024361@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
Subject: [jadoxa AT yahoo DOT com DOT au: Quoting Response Files]
Reply-To: djgpp-workers AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019