mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
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:
parent
89821ca886
commit
bc6b7fe871
@ -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
|
||||
at the last change to mc.sgml)
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user