summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES1
-rw-r--r--popt.c3
2 files changed, 1 insertions, 3 deletions
diff --git a/CHANGES b/CHANGES
index 9cb0e61..efae8f6 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,5 @@
1.13 -> 1.14:
+ - jbj: enable equal after short option (Wayne Davison<wayned@samba.org>).
- jbj: permit "#define POPT_fprintf fprintf" to lose the malloc'ing fprintf.
- jbj: use vasprintf(3) when available (Wayne Davison<wayned@samba.org>).
- jbj: study the mess with splint, remove annotations where possible.
diff --git a/popt.c b/popt.c
index 2727e74..6b77e21 100644
--- a/popt.c
+++ b/popt.c
@@ -932,10 +932,7 @@ int poptGetNextOpt(poptContext con)
origOptString++;
if (*origOptString != '\0')
- con->os->nextCharArg = origOptString;
-#ifdef NOTYET /* XXX causes test 9 failure. */
con->os->nextCharArg = origOptString + (*origOptString == '=');
-#endif
}
if (opt == NULL) return POPT_ERROR_BADOPT; /* XXX can't happen */