#31936 [NEW]: set_h_errno() is redefined incompatibly by PHP's code
| From: | ler at lerctr dot org | Date: | Fri, 11 Feb 2005 16:35:27 +0000 |
| Subject: | #31936 [NEW]: set_h_errno() is redefined incompatibly by PHP's code | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-73877@lists.php.net to get a copy of this message | ||
From: ler at lerctr dot org
Operating system: UnixWare
PHP version: 4.3.10
PHP Bug Type: Compile Failure
Bug description: set_h_errno() is redefined incompatibly by PHP's code
Description:
------------
in ext/sockets/sockets.c you (re)define set_h_errno in such a way that the
UnixWare definition is overridden, and generates a compile error about
assignments.
the definition in <netdb.h> works, yours doesn't.
Reproduce code:
---------------
standard 4.3.10 sources.
Expected result:
----------------
compile/link.
Actual result:
--------------
assignment must be modifiable lvalue on line 1765.
I can provide an account.
Also, Zend/zend_strtod.c doesn't compile because it doesn't find the right
IEEE_* define for this compiler.
--
Edit bug report at http://bugs.php.net/?id=31936&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31936&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31936&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31936&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31936&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31936&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31936&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31936&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31936&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31936&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31936&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31936&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31936&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31936&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31936&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31936&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31936&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31936&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31936&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31936&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31936&r=mysqlcfg