Hi,

I need this patch committed ASAP to PHP_5_3 zend_alloc.h, as the commit
I just made for ext/phar depends on it (oops).  Could someone help me out?

Thanks :),
Greg
Index: zend_alloc.h
===================================================================
RCS file: /repository/ZendEngine2/zend_alloc.h,v
retrieving revision 1.63.2.2.2.12.2.4
diff -u -r1.63.2.2.2.12.2.4 zend_alloc.h
--- zend_alloc.h        31 Dec 2007 07:17:04 -0000      1.63.2.2.2.12.2.4
+++ zend_alloc.h        13 Jun 2008 03:59:30 -0000
@@ -113,6 +113,7 @@
 #define safe_perealloc(ptr, nmemb, size, offset, persistent)   
((persistent)?_safe_realloc((ptr), (nmemb), (size), 
(offset)):safe_erealloc((ptr), (nmemb), (size), (offset)))
 #define perealloc_recoverable(ptr, size, persistent) 
((persistent)?__zend_realloc((ptr), (size)):erealloc_recoverable((ptr), (size)))
 #define pestrdup(s, persistent) ((persistent)?strdup(s):estrdup(s))
+#define pestrndup(s, length, persistent) 
((persistent)?zend_strndup((s),(length)):estrndup((s),(length)))
 
 #define pemalloc_rel(size, persistent) 
((persistent)?__zend_malloc(size):emalloc_rel(size))
 #define pefree_rel(ptr, persistent)    ((persistent)?free(ptr):efree_rel(ptr))

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to