#46020 [Asn->Csd]: With Sun Java System Web Server 7.0 on HPUX, #define HPUX
| From: | thetaphi@php.net | Date: | Mon, 03 Aug 2009 10:15:16 +0000 |
| Subject: | #46020 [Asn->Csd]: With Sun Java System Web Server 7.0 on HPUX, #define HPUX | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-140590@lists.php.net to get a copy of this message | ||
ID: 46020
Updated by: thetaphi@php.net
Reported By: river at wikimedia dot org
-Status: Assigned
+Status: Closed
Bug Type: iPlanet related
Operating System: HP-UX 11.11
PHP Version: 5.2.6
Assigned To: thetaphi
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2009-08-03 10:14:22] svn@php.net
Automatic comment from SVN on behalf of thetaphi
Revision: http://svn.php.net/viewvc/?view=revision&revision=286723
Log: MFH: Fix bug #46020: With Sun Java System Web Server 7.0 on HPUX,
#define HPUX
------------------------------------------------------------------------
[2009-08-03 10:13:49] svn@php.net
Automatic comment from SVN on behalf of thetaphi
Revision: http://svn.php.net/viewvc/?view=revision&revision=286722
Log: MFH: Fix bug #46020: With Sun Java System Web Server 7.0 on HPUX,
#define HPUX
------------------------------------------------------------------------
[2009-08-03 10:12:30] svn@php.net
Automatic comment from SVN on behalf of thetaphi
Revision: http://svn.php.net/viewvc/?view=revision&revision=286721
Log: Fix bug #46020: With Sun Java System Web Server 7.0 on HPUX,
#define HPUX
------------------------------------------------------------------------
[2009-01-12 09:23:56] river at wikimedia dot org
I agree the problem seems to be inside the NSAPI headers, but the
response from Sun about this was 'define HPUX yourself', so it seems
they're not interested in fixing it.
------------------------------------------------------------------------
[2009-01-12 09:21:26] rkl at connect dot org dot uk
Just a note that "#ifndef HPUX" is technically the wrong check for
HP-UX when compiling C/C++, it should be:
#ifndef __hpux
..Do non-HP-UX code
#endif
__hpux is defined in all C/C++ compilers (both gcc/g++ and HP's C/C++)
in all releases of HP-UX. So the blame here is with Sun's nsapi.h and
not PHP, but until Sun fix it, -DHPUX is the obvious workaround.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/46020
--
Edit this bug report at http://bugs.php.net/?id=46020&edit=1