summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-08-17 07:54:07 +0000
committerfoobar <sniper@php.net>2005-08-17 07:54:07 +0000
commit5516735c8828eb17f08159d69c115306ff91bffd (patch)
tree98b6af6284243290e795df8982e1df16c47fc7b9 /main
parentcf1b4cf67364dbd19b4287e49abd3f0da5349cd9 (diff)
downloadphp-git-5516735c8828eb17f08159d69c115306ff91bffd.tar.gz
MFH
Diffstat (limited to 'main')
-rw-r--r--main/main.c2
1 files changed, 1 insertions, 1 deletions
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));