sniper          Wed Aug 17 03:54:08 2005 EDT

  Modified files:              (Branch: PHP_5_1)
    /php-src/main       main.c 
  Log:
  MFH
  
http://cvs.php.net/diff.php/php-src/main/main.c?r1=1.640.2.1&r2=1.640.2.2&ty=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.640.2.1 php-src/main/main.c:1.640.2.2
--- php-src/main/main.c:1.640.2.1       Tue Aug 16 14:10:34 2005
+++ php-src/main/main.c Wed Aug 17 03:54:07 2005
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: main.c,v 1.640.2.1 2005/08/16 18:10:34 helly Exp $ */
+/* $Id: main.c,v 1.640.2.2 2005/08/17 07:54:07 sniper Exp $ */
 
 /* {{{ includes
  */
@@ -352,7 +352,7 @@
                        return;
                }
 #endif
-               log_file = VCWD_FOPEN(PG(error_log), "a");
+               log_file = VCWD_FOPEN(PG(error_log), "ab");
                if (log_file != NULL) {
                        time(&error_time);
                        strftime(error_time_str, sizeof(error_time_str), 
"%d-%b-%Y %H:%M:%S", php_localtime_r(&error_time, &tmbuf)); 

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

Reply via email to