cvs: /php4 main.c
| From: | Zeev Suraski | Date: | Thu, 10 Feb 2000 16:52:37 +0000 |
| Subject: | cvs: /php4 main.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-10038@lists.php.net to get a copy of this message | ||
zeev Thu Feb 10 08:52:37 2000 EDT
Modified files:
/php4 main.c
Log:
More cleanup
Index: php4/main.c
diff -u php4/main.c:1.195 php4/main.c:1.196
--- php4/main.c:1.195 Thu Feb 10 08:44:58 2000
+++ php4/main.c Thu Feb 10 08:52:07 2000
@@ -19,7 +19,7 @@
*/
-/* $Id: main.c,v 1.195 2000/02/10 16:44:58 zeev Exp $ */
+/* $Id: main.c,v 1.196 2000/02/10 16:52:07 zeev Exp $ */
#include <stdio.h>
@@ -898,22 +898,16 @@
if (!module_initialized) {
return;
}
-#if !USE_SAPI
+
/* close down the ini config */
php_config_ini_shutdown();
-#endif
-#if (WIN32|WINNT) && !(USE_SAPI)
+#if (WIN32|WINNT)
/*close winsock */
WSACleanup();
#endif
-#if CGI_BINARY
- fflush(stdout);
-#endif
-#if 0 /* SAPI */
- sapi_rqst->flush(sapi_rqst->scid);
-#endif
+ sapi_flush();
global_lock_destroy();
zend_shutdown();