From: gk at gknw dot de Operating system: NetWare PHP version: 5CVS-2007-01-03 (snap) PHP Bug Type: Compile Failure Bug description: php_date.c doesnt compile
Description: ------------ Compilation of ./ext/date/php_date.c fails for NetWare platform because we have a '#define tzname ...' in time.h; this clashes with the usage of tzname in PHP_FUNCTION(timezone_name_from_abbr) starting at line 2061. Proposed fix: rename tzname with tzid as used already at other places. In addition related to same file php_date.c: since the major rewrite of the date stuff with PHP 5.1.x the automatic guess of a proper timezone doesnt work any longer. For this I have written few NetWare-specific lines and inserted right after the Win32-specific code. Unified diff can be downloaded from my site: http://www.gknw.net/test/php_issues/php_date.c.diff Actual result: -------------- compilation breaks in php_date.c inside PHP_FUNCTION(timezone_name_from_abbr). -- Edit bug report at http://bugs.php.net/?id=40012&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40012&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40012&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40012&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40012&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40012&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40012&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=40012&r=needscript Try newer version: http://bugs.php.net/fix.php?id=40012&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40012&r=support Expected behavior: http://bugs.php.net/fix.php?id=40012&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40012&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40012&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40012&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40012&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40012&r=dst IIS Stability: http://bugs.php.net/fix.php?id=40012&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40012&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40012&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40012&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=40012&r=mysqlcfg
