derick          Thu Sep 15 15:11:15 2005 EDT

  Modified files:              (Branch: PHP_5_1)
    /php-src    NEWS 
    /php-src/main       config.w32.h snprintf.h 
  Log:
  - MFH: Fixed bug #34052 (date('U') returns %ld not unix timestamp).
  
  
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.2027.2.60&r2=1.2027.2.61&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.60 php-src/NEWS:1.2027.2.61
--- php-src/NEWS:1.2027.2.60    Wed Sep 14 23:42:41 2005
+++ php-src/NEWS        Thu Sep 15 15:11:14 2005
@@ -69,6 +69,7 @@
   (Dmitry)
 - Fixed bug #34062 (Crash in catch block when many arguments are used).
   (Dmitry)
+- Fixed bug #34052 (date('U') returns %ld not unix timestamp). (Nuno)
 - Fixed bug #34045 (Buffer overflow with serialized object). (Dmitry)
 - Fixed bug #34001 (pdo_mysql truncates numberic fields at 4 chars). (Ilia)
 - Fixed bug #33999 (object remains object when cast to int). (Dmitry)
http://cvs.php.net/diff.php/php-src/main/config.w32.h?r1=1.85&r2=1.85.4.1&ty=u
Index: php-src/main/config.w32.h
diff -u php-src/main/config.w32.h:1.85 php-src/main/config.w32.h:1.85.4.1
--- php-src/main/config.w32.h:1.85      Tue Feb 10 13:50:10 2004
+++ php-src/main/config.w32.h   Thu Sep 15 15:11:15 2005
@@ -2,7 +2,7 @@
        Build Configuration for Win32.
        This has only been tested with MS VisualC++ 6 (and later).
 
-       $Id: config.w32.h,v 1.85 2004/02/10 18:50:10 zeev Exp $
+       $Id: config.w32.h,v 1.85.4.1 2005/09/15 19:11:15 derick Exp $
 */
 
 /* Default PHP / PEAR directories */
@@ -175,7 +175,7 @@
 #define SIZEOF_LONG 4
 /* MSVC.6/NET don't allow 'long long' or know 'intmax_t' */
 #define SIZEOF_LONG_LONG_INT 0
-#define SIZEOF_LONG_LONG 0
+#define SIZEOF_LONG_LONG 8 /* defined as __int64 */
 #define SIZEOF_INTMAX_T 0
 #define ssize_t SSIZE_T
 #ifdef _WIN64
http://cvs.php.net/diff.php/php-src/main/snprintf.h?r1=1.32&r2=1.32.2.1&ty=u
Index: php-src/main/snprintf.h
diff -u php-src/main/snprintf.h:1.32 php-src/main/snprintf.h:1.32.2.1
--- php-src/main/snprintf.h:1.32        Wed Aug  3 10:08:39 2005
+++ php-src/main/snprintf.h     Thu Sep 15 15:11:15 2005
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: snprintf.h,v 1.32 2005/08/03 14:08:39 sniper Exp $ */
+/* $Id: snprintf.h,v 1.32.2.1 2005/09/15 19:11:15 derick Exp $ */
 
 /*
 
@@ -111,12 +111,12 @@
 extern char * ap_php_fcvt(double arg, int ndigits, int *decpt, int *sign, char 
*buf);
 extern char * ap_php_gcvt(double number, int ndigit, char *buf, boolean_e 
altform);
 
-#if SIZEOF_LONG_LONG_INT
+#if PHP_WIN32
+# define WIDE_INT              __int64
+#elif SIZEOF_LONG_LONG_INT
 # define WIDE_INT              long long int
 #elif SIZEOF_LONG_LONG
 # define WIDE_INT              long long
-#elif PHP_WIN32
-# define WIDE_INT              __int64
 #else
 # define WIDE_INT              long
 #endif

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to