iliaa Wed Aug 17 11:34:24 2005 EDT
Modified files: (Branch: PHP_4_4)
/php-src/main main.c
Log:
MFH: Fix EOLs under windows
http://cvs.php.net/diff.php/php-src/main/main.c?r1=1.512.2.63.2.2&r2=1.512.2.63.2.3&ty=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.512.2.63.2.2 php-src/main/main.c:1.512.2.63.2.3
--- php-src/main/main.c:1.512.2.63.2.2 Tue Jul 26 09:51:31 2005
+++ php-src/main/main.c Wed Aug 17 11:34:24 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.512.2.63.2.2 2005/07/26 13:51:31 hyanantha Exp $ */
+/* $Id: main.c,v 1.512.2.63.2.3 2005/08/17 15:34:24 iliaa Exp $ */
/* {{{ includes
*/
@@ -378,7 +378,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