fix: expandNextArg() can't permit '\\' escapes.

CVS patchset: 3413
CVS date: 1999/11/01 23:23:09
This commit is contained in:
jbj 1999-11-01 23:23:09 +00:00
parent b1cb8f1b3e
commit 65a08c9e60
2 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 1999-10-29 09:03-0400\n"
"POT-Creation-Date: 1999-11-01 18:21-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

View File

@ -348,9 +348,11 @@ static /*@only@*/ const char * expandNextArg(poptContext con, const char * s)
te = t = malloc(tn);;
while ((c = *s++) != '\0') {
switch (c) {
#if 0 /* XXX can't do this */
case '\\': /* escape */
c = *s++;
break;
#endif
case '!':
if (!(s[0] == '#' && s[1] == ':' && s[2] == '+'))
break;