Skip to content

Commit 1390ead

Browse files
committed
Ah, so that file is generated too
1 parent 1ae9891 commit 1390ead

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ SUBDIRS = @EXT_SUBDIRS@
55
noinst_LIBRARIES=libphpext.a
66

77
libphpext.a: @EXT_LIBS@
8-
$(top_srcdir)/scripts/mkextlib $@ $(SUBDIRS)
8+
top_srcdir=$(top_srcdir) $(top_builddir)/scripts/mkextlib $@ $(SUBDIRS)

main/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ static void php_message_handler_for_zend(long message, void *data)
610610
# if APACHE /* log into the errorlog, since at this time we can't send messages to the browser */
611611
char memory_leak_buf[512];
612612

613-
snprintf(memory_leak_buf,512,"Possible PHP4 memory leak detected (harmless): %d bytes from %s:%d",t->size,t->filename,t->lineno);
613+
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);
614614
# if MODULE_MAGIC_NUMBER >= 19970831
615615
aplog_error(NULL, 0, APLOG_ERR | APLOG_NOERRNO, GLOBAL(php3_rqst)->server, memory_leak_buf);
616616
# else

0 commit comments

Comments
 (0)