www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/09/16/08:54:37

Date: Tue, 16 Sep 1997 15:53:01 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Robert Hoehne <robert DOT hoehne AT mathematik DOT tu-chemnitz DOT de>
cc: Oberhumer Markus <k3040e4 AT c210 DOT edvz DOT uni-linz DOT ac DOT at>,
DJGPP workers <djgpp-workers AT delorie DOT com>
Subject: Re: c1args.c patches
In-Reply-To: <Pine.HPP.3.95q.970916094512.14975A-100000@newton.mathematik.tu-chemnitz.de>
Message-ID: <Pine.SUN.3.91.970916155111.25597N-100000@is>
MIME-Version: 1.0

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. 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019