cvs: php4 /sapi/cgi cgi_main.c /sapi/servlet servlet.c
| From: | Sascha Schumann | Date: | Sat, 24 Feb 2001 21:05:01 +0000 |
| Subject: | cvs: php4 /sapi/cgi cgi_main.c /sapi/servlet servlet.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-4253@lists.php.net to get a copy of this message | ||
sas Sat Feb 24 13:05:01 2001 EDT
Modified files:
/php4/sapi/cgi cgi_main.c
/php4/sapi/servlet servlet.c
Log:
Neither the CGI nor the Servlet SAPI module call syslog, so remove
references to the syslog include files.
Index: php4/sapi/cgi/cgi_main.c
diff -u php4/sapi/cgi/cgi_main.c:1.91 php4/sapi/cgi/cgi_main.c:1.92
--- php4/sapi/cgi/cgi_main.c:1.91 Fri Feb 23 14:07:15 2001
+++ php4/sapi/cgi/cgi_main.c Sat Feb 24 13:05:01 2001
@@ -57,10 +57,7 @@
#ifdef PHP_WIN32
#include <io.h>
#include <fcntl.h>
-#include "win32/syslog.h"
#include "win32/php_registry.h"
-#else
-#include <syslog.h>
#endif
#if HAVE_SIGNAL_H
Index: php4/sapi/servlet/servlet.c
diff -u php4/sapi/servlet/servlet.c:1.44 php4/sapi/servlet/servlet.c:1.45
--- php4/sapi/servlet/servlet.c:1.44 Fri Feb 23 14:07:15 2001
+++ php4/sapi/servlet/servlet.c Sat Feb 24 13:05:01 2001
@@ -54,10 +54,7 @@
#ifdef PHP_WIN32
#include <io.h>
#include <fcntl.h>
-#include "win32/syslog.h"
#include "win32/php_registry.h"
-#else
-#include <syslog.h>
#endif
#include "zend_compile.h"