sniper Wed Aug 17 03:52:23 2005 EDT Modified files: /php-src/main main.c Log: Fix EOLs under winblows http://cvs.php.net/diff.php/php-src/main/main.c?r1=1.644&r2=1.645&ty=u Index: php-src/main/main.c diff -u php-src/main/main.c:1.644 php-src/main/main.c:1.645 --- php-src/main/main.c:1.644 Tue Aug 16 14:09:27 2005 +++ php-src/main/main.c Wed Aug 17 03:52:17 2005 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: main.c,v 1.644 2005/08/16 18:09:27 helly Exp $ */ +/* $Id: main.c,v 1.645 2005/08/17 07:52:17 sniper Exp $ */ /* {{{ includes */ @@ -470,7 +470,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