httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@imdb.com (Rob Hartill)
Subject WWW Form Bug Report: "GCC reports error: util_script.c:83: `ARG_MAX' undeclared (first use this function)" on HPUX (fwd)
Date Wed, 25 Dec 1996 22:24:45 GMT

This was reported for Solaris too.


----- Forwarded message from pollard@cfcsc.dnd.ca -----

Message-Id: <199612251923.LAA22418@taz.hyperreal.com>
From: pollard@cfcsc.dnd.ca
To: apache-bugs%apache.org@organic.com
Date: Wed Dec 25 11:23:09 1996
Subject: WWW Form Bug Report: "GCC reports error: util_script.c:83: `ARG_MAX' undeclared (first
use this function)" on HPUX

Submitter: pollard@cfcsc.dnd.ca
Operating system: HPUX, version: 
Version of Apache Used: 1.22b3
Extra Modules used: 
URL exhibiting problem: 

Symptoms:
--
GCC error msg:
util_script.c: In function `create_argv':
util_script.c:83: `ARG_MAX' undeclared (first use this function)
util_script.c:83: (Each undeclared identifier is reported only once
util_script.c:83: for each function it appears in.)
*** Error code 1

Statement in util_script.c at which compiler chokes:
	if ((av = (char **)palloc(r->pool, ARG_MAX)) == NULL)

I inserted:
#define ARG_MAX 60
in util_scrip.c in function create_argv to enable compiler to successfully compile httpd.
--

Backtrace:
--

--

----- End of forwarded message from pollard@cfcsc.dnd.ca -----


Mime
View raw message