From: Kurt Zeilenga Date: Wed, 6 Jan 1999 20:27:27 +0000 (+0000) Subject: Use MAXARGS... we should actually check for limits.h's ARG_MAX and X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~814 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ed33462bdfda9f18a03e7ce42c348299aa88d317;p=openldap Use MAXARGS... we should actually check for limits.h's ARG_MAX and use this everywhere... but that's for another day. --- diff --git a/servers/slapd/tools/ldif2ldbm.c b/servers/slapd/tools/ldif2ldbm.c index adca59cac2..6f93b94d79 100644 --- a/servers/slapd/tools/ldif2ldbm.c +++ b/servers/slapd/tools/ldif2ldbm.c @@ -63,7 +63,7 @@ main( int argc, char **argv ) { int i, stop, status; char *linep, *buf, *sbindir; - char *args[10]; + char *args[MAXARGS]; char buf2[20], buf3[20]; char line[BUFSIZ]; char cmd[MAXPATHLEN];