php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6362 sapi/apache/mod_php4.c fails: structure has no member named `_shutdown'
Submitted: 2000-08-25 19:24 UTC Modified: 2000-09-30 03:14 UTC
From: opoplawski at cqg dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.1pl2 OS: UnixWare 7.1.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: opoplawski at cqg dot com
New email:
PHP Version: OS:

 

 [2000-08-25 19:24 UTC] opoplawski at cqg dot com
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?


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-30 03:14 UTC] sas@php.net
Fixed in CVS. Thanks for the report.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Jun 29 13:00:01 2026 UTC