Date: Tue, 16 Sep 1997 15:53:01 +0300 (IDT) From: Eli Zaretskii To: Robert Hoehne cc: Oberhumer Markus , DJGPP workers Subject: Re: c1args.c patches In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 16 Sep 1997, Robert Hoehne wrote: > /* COMPAT: SYSV version defaults size (and has a max value of) to 470. > We try to make it as large as possible. */ > #if !defined(ARG_MAX) && defined(_SC_ARG_MAX) > #define ARG_MAX sysconf (_SC_ARG_MAX) > #endif > #ifndef ARG_MAX > #define ARG_MAX NCARGS > #endif > > ------------------------------------------------------- > > And of course this file includes config.h which includes > sys/config.h where HAVE_LIMITS_H is defined to 1. In > limits.h is ARG_MAX defined so the line with defining > ARG_MAX to use sysconf is never reached. Of course! I meant to say that when (and if) sysconf is patched, this should be changed to actually call sysconf.