#40012 [Opn->Asn]: php_date.c doesnt compile
| From: | tony2001@php.net | Date: | Wed, 03 Jan 2007 14:46:52 +0000 |
| Subject: | #40012 [Opn->Asn]: php_date.c doesnt compile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-107127@lists.php.net to get a copy of this message | ||
ID: 40012
Updated by: tony2001@php.net
Reported By: gk at gknw dot de
-Status: Open
+Status: Assigned
Bug Type: Compile Failure
Operating System: NetWare
PHP Version: 5CVS-2007-01-03 (snap)
-Assigned To:
+Assigned To: derick
Previous Comments:
------------------------------------------------------------------------
[2007-01-03 14:34:12] gk at gknw dot de
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 this bug report at http://bugs.php.net/?id=40012&edit=1