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 /popt | |
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
Diffstat (limited to 'popt')
-rw-r--r-- | popt/popt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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'; } |