From: foobar Date: Wed, 17 Aug 2005 07:54:07 +0000 (+0000) Subject: MFH X-Git-Tag: php-5.1.0RC2_PRE~105 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5516735c8828eb17f08159d69c115306ff91bffd;p=php MFH --- diff --git a/main/main.c b/main/main.c index 4e1a09009d..cae891c5f8 100644 --- a/main/main.c +++ b/main/main.c @@ -352,7 +352,7 @@ PHPAPI void php_log_err(char *log_message TSRMLS_DC) 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));