Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_alloc.h
| From: | Alex Kiesel | Date: | Sat, 14 Aug 2004 12:29:58 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_alloc.h | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-12160@lists.php.net to get a copy of this message | ||
On Sat, 2004-08-07 at 02:45, Andi Gutmans wrote:
> andi Fri Aug 6 20:45:34 2004 EDT
>
> Modified files:
> /ZendEngine2 zend_alloc.h
> Log:
> - Commit Derick's patch for allowing Zend to use regular libc memory
> - allocation functions. Mainly useful in conjunction with tools such as
> - valgrind which enables us to find bugs we might not find with the
> - current memory managers boundary protection.
Hi,
attached is a patch that fixes the build with
#define USE_ZEND_ALLOC 0
on FreeBSD (due to the missing strndup() in its libc). I have also
replaced empty_string with STR_EMPTY_ALLOC().
Regards,
-Alex
Attachment: [text/x-patch] zend_alloc.h.diff
Attachment: [text/x-patch] zend_alloc.h.diff