cvs: php4 /sapi/cgi cgi_main.c
| From: | Edin Kadribasic | Date: | Mon, 19 Aug 2002 13:46:40 +0000 |
| Subject: | cvs: php4 /sapi/cgi cgi_main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13460@lists.php.net to get a copy of this message | ||
edink Mon Aug 19 09:46:40 2002 EDT
Modified files:
/php4/sapi/cgi cgi_main.c
Log:
Debug functions should only work in debug mode.
Index: php4/sapi/cgi/cgi_main.c
diff -u php4/sapi/cgi/cgi_main.c:1.178 php4/sapi/cgi/cgi_main.c:1.179
--- php4/sapi/cgi/cgi_main.c:1.178 Wed Aug 7 14:16:44 2002
+++ php4/sapi/cgi/cgi_main.c Mon Aug 19 09:46:39 2002
@@ -1136,7 +1136,7 @@
tsrm_shutdown();
#endif
-#ifdef PHP_WIN32
+#if PHP_WIN32 && ZEND_DEBUG
_CrtDumpMemoryLeaks( );
#endif