diff --git a/src/ChangeLog b/src/ChangeLog index bb8d8b575..fb5f8d0f7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,4 +1,9 @@ -Wed Mar 4 14:49:55 1998 +Thu Mar 5 10:28:40 1998 Norbert Warmuth + + * popt.c (poptParseArgvString): make it compile with the native + compiler on AIX 4.1.3 + +Wed Mar 4 14:49:55 1998 Norbert Warmuth * doc/mc.1.in, mc.hlp: updated (these files haven't been updated at the last change to mc.sgml) diff --git a/src/popt.c b/src/popt.c index f17779589..65eec55db 100644 --- a/src/popt.c +++ b/src/popt.c @@ -395,7 +395,8 @@ int poptParseArgvString(char * s, int * argcPtr, char *** argvPtr) { } if (strlen(argv[argc])) { - argc++, buf++; + argc++; + buf++; } argv2 = malloc(argc * sizeof(*argv) + (buf - bufStart));