cvs: /php4 main.c
| From: | Zeev Suraski | Date: | Sun, 26 Dec 1999 20:46:07 +0000 |
| Subject: | cvs: /php4 main.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-8519@lists.php.net to get a copy of this message | ||
zeev Sun Dec 26 15:46:07 1999 EDT
Modified files:
/php4 main.c
Log:
namespace protection
Index: php4/main.c
diff -u php4/main.c:1.167 php4/main.c:1.168
--- php4/main.c:1.167 Fri Dec 24 12:39:23 1999
+++ php4/main.c Sun Dec 26 15:45:37 1999
@@ -19,7 +19,7 @@
*/
-/* $Id: main.c,v 1.167 1999/12/24 17:39:23 andi Exp $ */
+/* $Id: main.c,v 1.168 1999/12/26 20:45:37 zeev Exp $ */
#include <stdio.h>
@@ -611,8 +611,8 @@
SLS_FETCH();
if (message==ZMSG_MEMORY_LEAK_DETECTED) {
- mem_header *t = (mem_header *) data;
- void *ptr = (void *)((char *)t+sizeof(mem_header)+PLATFORM_PADDING);
+ zend_mem_header *t = (zend_mem_header *) data;
+ void *ptr = (void *)((char *)t+sizeof(zend_mem_header)+PLATFORM_PADDING);
snprintf(memory_leak_buf, 512, "%s(%d) : Freeing 0x%.8lX (%d bytes), script=%s\n",
t->filename, t->lineno, (unsigned long)ptr, t->size,
SAFE_FILENAME(SG(request_info).path_translated));
if (t->orig_filename) {