]> granicus.if.org Git - php/commitdiff
Ah, so that file is generated too
authorZeev Suraski <zeev@php.net>
Sun, 18 Apr 1999 20:59:54 +0000 (20:59 +0000)
committerZeev Suraski <zeev@php.net>
Sun, 18 Apr 1999 20:59:54 +0000 (20:59 +0000)
ext/Makefile.am
main/main.c

index 06dc78ffc44a98f8e86a9c5d557b053103370357..56ba636b8add61607bb9f21cdfec1ae29f407d1d 100644 (file)
@@ -5,4 +5,4 @@ SUBDIRS = @EXT_SUBDIRS@
 noinst_LIBRARIES=libphpext.a
 
 libphpext.a: @EXT_LIBS@
-       $(top_srcdir)/scripts/mkextlib $@ $(SUBDIRS)
+       top_srcdir=$(top_srcdir) $(top_builddir)/scripts/mkextlib $@ $(SUBDIRS)
index b20f85aca978c63de2bf2b1fb9a11142b4aa3b10..5c5ed82453d0ef3faf6f0ac170d2e1ac80d44f30 100644 (file)
@@ -610,7 +610,7 @@ static void php_message_handler_for_zend(long message, void *data)
 #      if APACHE  /* log into the errorlog, since at this time we can't send messages to the browser */
                                        char memory_leak_buf[512];
 
-                                       snprintf(memory_leak_buf,512,"Possible PHP4 memory leak detected (harmless):  %d bytes from %s:%d",t->size,t->filename,t->lineno);
+                                       snprintf(memory_leak_buf,512,"Possible PHP4 memory leak detected (harmless):  0x%0.8lX, %d bytes from %s:%d", (long) t, t->size, t->filename, t->lineno);
 #              if MODULE_MAGIC_NUMBER >= 19970831
                                        aplog_error(NULL, 0, APLOG_ERR | APLOG_NOERRNO, GLOBAL(php3_rqst)->server, memory_leak_buf);
 #              else