PHP 4.0 Bug #6362: sapi/apache/mod_php4.c fails: structure has no member named `_shutdown'
| From: | opoplawski at cqg dot com | Date: | Fri, 25 Aug 2000 23:24:49 +0000 |
| Subject: | PHP 4.0 Bug #6362: sapi/apache/mod_php4.c fails: structure has no member named `_shutdown' | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-30699@lists.php.net to get a copy of this message | ||
From: opoplawski@cqg.com
Operating system: UnixWare 7.1.0
PHP version: 4.0.1pl2
PHP Bug Type: Compile Failure
Bug description: sapi/apache/mod_php4.c fails: structure has no member named `_shutdown'
When compiling: mod_php4.c
mod_php4.c: In function `apache_php_module_shutdown_wrapper':
mod_php4.c:678: structure has no member named `_shutdown'
line of code is:
sapi_module.shutdown(&sapi_module);
This is because <sys/socket.h>, for some inxexplicable reason, has decided to do this:
#define shutdown _shutdown
This strikes me as a very stupid thing to do, but I'm stuck with it nonetheless. Any way we
could get the structure memeber name changed?