Date: 04/25/98
- Next message: ssb: "[PHP-DEV] CVS update: php3/functions"
- Previous message: Bug Database: "[PHP-DEV] Bug #216 Updated: php.log entry missing CR's and/or LF's"
- Next in thread: ssb: "[PHP-DEV] CVS update: php3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Saturday April 25, 1998 @ 13:41
Author: zeev
Update of /repository/php3
In directory asf:/tmp/cvs-serv49
Modified Files:
main.c
Log Message:
fix for bug #216 (newlines were missing in some logging mechanisms)
Index: php3/main.c
diff -c php3/main.c:1.414 php3/main.c:1.415
*** php3/main.c:1.414 Thu Apr 23 20:40:49 1998
--- php3/main.c Sat Apr 25 13:41:42 1998
***************
*** 24,30 ****
+----------------------------------------------------------------------+
*/
! /* $Id: main.c,v 1.414 1998/04/24 00:40:49 zeev Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
--- 24,30 ----
+----------------------------------------------------------------------+
*/
! /* $Id: main.c,v 1.415 1998/04/25 17:41:42 zeev Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
***************
*** 193,198 ****
--- 193,199 ----
log_file = fopen(php3_ini.error_log, "a");
if (log_file != NULL) {
fprintf(log_file, log_message);
+ fprintf(log_file, "\n");
fclose(log_file);
return;
}
***************
*** 210,221 ****
--- 211,224 ----
#endif
} else {
fprintf(stderr, log_message);
+ fprintf(stderr, "\n");
}
#endif /*APACHE */
#if CGI_BINARY
if (php3_header()) {
fprintf(stderr, log_message);
+ fprintf(stderr, "\n");
}
#endif
#if USE_SAPI
- Next message: ssb: "[PHP-DEV] CVS update: php3/functions"
- Previous message: Bug Database: "[PHP-DEV] Bug #216 Updated: php.log entry missing CR's and/or LF's"
- Next in thread: ssb: "[PHP-DEV] CVS update: php3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

