]> granicus.if.org Git - php/commitdiff
*** empty log message ***
authorZeev Suraski <zeev@php.net>
Mon, 31 May 1999 18:39:29 +0000 (18:39 +0000)
committerZeev Suraski <zeev@php.net>
Mon, 31 May 1999 18:39:29 +0000 (18:39 +0000)
Zend/zend.h
Zend/zend_alloc.c

index 6616c4efcb4b83ebca1d5635432b5d8bec78f93a..c8bad3668194c3b1408110fb4e4822ece2360851 100644 (file)
@@ -223,5 +223,6 @@ extern zend_utility_values zend_uv;
 #define ZMSG_FAILED_HIGHLIGHT_FOPEN            4L
 #define ZMSG_MEMORY_LEAK_DETECTED              5L
 #define ZMSG_MEMORY_LEAK_REPEATED              6L
+#define ZMSG_LOG_SCRIPT_NAME           7L
 
 #endif /* _ZEND_H */
index eec6b69daa537e96adb625f96cd6723942c9ec02..e2d2a636887da4f77a7499b72cfe49751b5290ef 100644 (file)
@@ -431,6 +431,7 @@ ZEND_API int _mem_block_check(void *ptr, int silent, char *filename, int lineno)
                no_cache_notice=1;
        }
        if (!silent) {
+               zend_message_dispatcher(ZMSG_LOG_SCRIPT_NAME, NULL);
                zend_debug_alloc_output("---------------------------------------\n");
                zend_debug_alloc_output("Block 0x%0.8lX status at %s:%d:\n", (long) p, filename, lineno);
                zend_debug_alloc_output("%10s\t","Beginning:  ");