Thu Mar 5 10:28:40 1998 Norbert Warmuth <k3190@fh-sw.de>

* popt.c (poptParseArgvString): make it compile with the native
compiler on AIX 4.1.3
This commit is contained in:
Norbert Warmuth 1998-03-05 09:48:01 +00:00
parent 89821ca886
commit bc6b7fe871
2 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,9 @@
Wed Mar 4 14:49:55 1998 <k3190@fh-sw.de> Thu Mar 5 10:28:40 1998 Norbert Warmuth <k3190@fh-sw.de>
* popt.c (poptParseArgvString): make it compile with the native
compiler on AIX 4.1.3
Wed Mar 4 14:49:55 1998 Norbert Warmuth <k3190@fh-sw.de>
* doc/mc.1.in, mc.hlp: updated (these files haven't been updated * doc/mc.1.in, mc.hlp: updated (these files haven't been updated
at the last change to mc.sgml) at the last change to mc.sgml)

View File

@ -395,7 +395,8 @@ int poptParseArgvString(char * s, int * argcPtr, char *** argvPtr) {
} }
if (strlen(argv[argc])) { if (strlen(argv[argc])) {
argc++, buf++; argc++;
buf++;
} }
argv2 = malloc(argc * sizeof(*argv) + (buf - bufStart)); argv2 = malloc(argc * sizeof(*argv) + (buf - bufStart));