From: foobar Date: Wed, 17 Aug 2005 07:52:17 +0000 (+0000) Subject: Fix EOLs under winblows X-Git-Tag: PRE_NEW_OCI8_EXTENSION~203 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5cf36ea50fd6a4aac7bccb92076063f57ac862b7;p=php Fix EOLs under winblows --- diff --git a/main/main.c b/main/main.c index a809defc00..6bc2a45f96 100644 --- a/main/main.c +++ b/main/main.c @@ -470,7 +470,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));