You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Martin Kraemer <ma...@mch.sni.de> on 1998/12/21 23:37:40 UTC

[PATCH] src/main/http_main.c fix for SHARD_CORE case

If apache is compiled as SHARED_CORE (as required on some older SVR4
variants), then the compilation of http_main.c fails for the current
version because the (in the case of the "real" main) global variable
ap_server_argv0 is not defined anywhere when
the -DSHARED_CORE_BOOTSTRAP define is set.

The following patch does not try to strip the directory part off the
path. It just replaces the undefined (and otherwise unreferenced)
variable ap_server_argv0 by the value of argv[0]. Given the nature
of the error message, I think more than that is just overkill.

    Martin
-- 
<Ma...@Mch.SNI.De>      |        Siemens Information and
Phone: +49-89-636-46021          |        Communication  Products
FAX:   +49-89-636-47816          |        81730  Munich,  Germany