diff options
author | ewt <devnull@localhost> | 1997-05-07 19:43:23 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1997-05-07 19:43:23 +0000 |
commit | bd1ece83f25672ef7dfbbe5895a40f0a178bfa87 (patch) | |
tree | 260a4132857a0657bafcb29ba9ecf9d82bac7d36 | |
parent | 49a247317a3b5a31f2a3f8a0ebe867aae78de077 (diff) | |
download | librpm-tizen-bd1ece83f25672ef7dfbbe5895a40f0a178bfa87.tar.gz librpm-tizen-bd1ece83f25672ef7dfbbe5895a40f0a178bfa87.tar.bz2 librpm-tizen-bd1ece83f25672ef7dfbbe5895a40f0a178bfa87.zip |
= didn't work w/ long arguments
CVS patchset: 1615
CVS date: 1997/05/07 19:43:23
-rw-r--r-- | CHANGES | 1 | ||||
-rw-r--r-- | popt/popt.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -31,6 +31,7 @@ - include <strings.h> on SCO - don't use cpio when installing packages <gulp> - fixed bug which affected dependencies on the Alpha + - made '=' work for long arguments (the switch to popt broke this) 2.3.10 -> 2.3.11: - fixed newlines in --scripts output diff --git a/popt/popt.c b/popt/popt.c index 143c2e72c..b9bac7eab 100644 --- a/popt/popt.c +++ b/popt/popt.c @@ -134,7 +134,7 @@ int poptGetNextOpt(poptContext con) { chptr = optString; while (*chptr && *chptr != '=') chptr++; if (*chptr == '=') { - longArg = origOptString + (chptr - localOptString); + longArg = origOptString + (chptr - localOptString) + 1; *chptr = '\0'; } |