cvs: php4 /main main.c

From: Date: Sun, 29 Apr 2001 12:58:50 +0000
Subject: cvs: php4 /main main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-5358@lists.php.net to get a copy of this message
andi Sun Apr 29 05:58:50 2001 EDT Modified files: /php4/main main.c Log: - Update to work with latest Zend PR: Submitted by: Reviewed by: Obtained from: Index: php4/main/main.c diff -u php4/main/main.c:1.360 php4/main/main.c:1.361 --- php4/main/main.c:1.360 Wed Apr 25 14:46:40 2001 +++ php4/main/main.c Sun Apr 29 05:58:50 2001 @@ -19,7 +19,7 @@ */ -/* $Id: main.c,v 1.360 2001/04/25 21:46:40 ssb Exp $ */ +/* $Id: main.c,v 1.361 2001/04/29 12:58:50 andi Exp $ */ #include <stdio.h> @@ -526,7 +526,7 @@ if (message==ZMSG_MEMORY_LEAK_DETECTED) { zend_mem_header *t = (zend_mem_header *) data; - void *ptr = (void *)((char *)t+sizeof(zend_mem_header)+PLATFORM_PADDING); + void *ptr = (void *)((char *)t+sizeof(zend_mem_header)+MEM_HEADER_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) {

« previous php.cvs (#5358) next »