delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/08/30/01:48:33

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
Lines: 10
Message-ID: <3F5036C6.436398F8@yahoo.com.au>
NNTP-Posting-Host: roc-56k-078.tpgi.com.au (202.7.180.78)
Mime-Version: 1.0
X-Trace: news.uni-berlin.de 1062221516 12509271 202.7.180.78 (16 [148584])
X-Mailer: Mozilla 4.8 [en] (Win98; U)
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

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.

- Raw text -


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