Browse Source

Ah, so that file is generated too

migration/INITIAL
Zeev Suraski 28 years ago
parent
commit
1390eadc14
  1. 2
      ext/Makefile.am
  2. 2
      main/main.c

2
ext/Makefile.am

@ -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)

2
main/main.c

@ -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

Loading…
Cancel
Save