httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rasmus Lerdorf <ras...@lerdorf.on.ca>
Subject Compile failure
Date Sat, 16 May 1998 17:54:59 GMT
Current CVS is not compiling.  Someone forgot an argument to
ap_call_exec() in mod_include.c:

gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=260 -DUSE_HSREGEX
-DSERVER_SUBVERSION=\"PHP/3.0R-Dev\"  mod_include.c
mod_include.c: In function `include_cmd_child':
mod_include.c:789: warning: passing arg 2 of `ap_call_exec' from
incompatible pointer type
mod_include.c:789: warning: passing arg 3 of `ap_call_exec' from
incompatible pointer type
mod_include.c:789: warning: passing arg 4 of `ap_call_exec' makes pointer
from integer without a cast
mod_include.c:789: too few arguments to function `ap_call_exec'

In mod_cgi we call it with 5 arguments:
mod_cgi.c:    child_pid = ap_call_exec(r, pinfo, argv0, env, 0);

and in mod_include only with 4:
mod_include.c:    child_pid = ap_call_exec(r,s,ap_create_environment(r->pool, env), 1);

Looks like argv0 is missing in mod_include.

-Rasmus


Mime
View raw message