[PHP-DEV] PHP 4.0 Bug #6362: sapi/apache/mod_php4.c fails: structure has no member named `_shutdown' From: opoplawski <email protected>
Date: 08/25/00

From: opoplawski <email protected>
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?

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>