ID:               46389
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         SOAP related
 Operating System: NetWare
 PHP Version:      5.2.7RC2
 New Comment:

This bug has been fixed in CVS.

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:
------------------------------------------------------------------------

[2008-10-26 01:05:42] [EMAIL PROTECTED]

Description:
------------
NetWare has _timezone instead of timezone in the headers:

--- php_encoding.c.orig Thu Oct 16 17:49:18 2008
+++ php_encoding.c      Sun Oct 26 02:35:48 2008
@@ -2876,7 +2876,7 @@
 #ifdef HAVE_TM_GMTOFF
                snprintf(tzbuf, sizeof(tzbuf), "%c%02d:%02d", (ta->tm_gmtoff < 
0) ?
'-' : '+', abs(ta->tm_gmtoff / 3600), abs( (ta->tm_gmtoff % 3600) / 60
));
 #else
-# ifdef __CYGWIN__
+# if defined(__CYGWIN__) || defined(NETWARE)
                snprintf(tzbuf, sizeof(tzbuf), "%c%02d:%02d", ((ta->tm_isdst ?
_timezone - 3600:_timezone)>0)?'-':'+', abs((ta->tm_isdst ? _timezone -
3600 : _timezone) / 3600), abs(((ta->tm_isdst ? _timezone - 3600 :
_timezone) % 3600) / 60));
 # else
                snprintf(tzbuf, sizeof(tzbuf), "%c%02d:%02d", ((ta->tm_isdst ?
timezone - 3600:timezone)>0)?'-':'+', abs((ta->tm_isdst ? timezone -
3600 : timezone) / 3600), abs(((ta->tm_isdst ? timezone - 3600 :
timezone) % 3600) / 60));

can you please apply this small patch? thanks.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=46389&edit=1

Reply via email to