summaryrefslogtreecommitdiff
path: root/popt
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-11-01 23:23:09 +0000
committerjbj <devnull@localhost>1999-11-01 23:23:09 +0000
commit65a08c9e60c0bff0e09cfdcc98ca97910ab24ac5 (patch)
tree223bc2b5376f0ddc4a8143084c60e9d0acd242ad /popt
parentb1cb8f1b3ed725542bbba6a8f2fe6a1722c2e632 (diff)
downloadrpm-65a08c9e60c0bff0e09cfdcc98ca97910ab24ac5.tar.gz
rpm-65a08c9e60c0bff0e09cfdcc98ca97910ab24ac5.tar.bz2
rpm-65a08c9e60c0bff0e09cfdcc98ca97910ab24ac5.zip
fix: expandNextArg() can't permit '\\' escapes.
CVS patchset: 3413 CVS date: 1999/11/01 23:23:09
Diffstat (limited to 'popt')
-rw-r--r--popt/po/popt.pot2
-rw-r--r--popt/popt.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/popt/po/popt.pot b/popt/po/popt.pot
index 309f01244..56a5f6063 100644
--- a/popt/po/popt.pot
+++ b/popt/po/popt.pot
@@ -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"
diff --git a/popt/popt.c b/popt/popt.c
index 283cf83cd..1121c91cb 100644
--- a/popt/popt.c
+++ b/popt/popt.c
@@ -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;