]> granicus.if.org Git - php/commitdiff
- Fixed bug #60373 (Startup errors with log_errors on cause segfault).
authorDerick Rethans <derick@php.net>
Fri, 25 Nov 2011 14:06:55 +0000 (14:06 +0000)
committerDerick Rethans <derick@php.net>
Fri, 25 Nov 2011 14:06:55 +0000 (14:06 +0000)
NEWS
main/main.c

diff --git a/NEWS b/NEWS
index 39373d9d40e17ec81cfb2ab4b3446e1f5420ffb8..be4e3c8a5c410d3d9e65b147b934e6fef3e4ea62 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -27,6 +27,8 @@ PHP                                                                        NEWS
   . Fixed bug #60377 (bcscale related crashes on 64bits platforms). (shm)
 
 - Date:
+  . Fixed bug #60373 (Startup errors with log_errors on cause segfault).
+    (Derick)
   . Fixed bug #60236 (TLA timezone dates are not converted properly from
     timestamp). (Derick)
   . Fixed bug #55253 (DateTime::add() and sub() result -1 hour on objects with
index 1ce01e0280e4785b6163ab99614cc34d1953da03..8e52412cdd2618c3d98a9f1a7b0eaafb66b897da 100644 (file)
@@ -599,7 +599,7 @@ PHPAPI void php_log_err(char *log_message TSRMLS_DC)
                        char *error_time_str;
 
                        time(&error_time);
-                       error_time_str = php_format_date("d-M-Y H:i:s", 11, error_time, 1 TSRMLS_CC);
+                       error_time_str = php_format_date("d-M-Y H:i:s e", 13, error_time, 0 TSRMLS_CC);
                        len = spprintf(&tmp, 0, "[%s] %s%s", error_time_str, log_message, PHP_EOL);
 #ifdef PHP_WIN32
                        php_flock(fd, 2);