]> granicus.if.org Git - php/commitdiff
*** empty log message ***
authorAndrei Zmievski <andrei@php.net>
Fri, 12 Aug 2005 17:29:21 +0000 (17:29 +0000)
committerAndrei Zmievski <andrei@php.net>
Fri, 12 Aug 2005 17:29:21 +0000 (17:29 +0000)
Zend/zend_alloc.h

index 9ba2803a4643a0bc1d501e835e50a0e691e1dafa..09814d7ee409a5012c6b02e3b82a91703b66fe31 100644 (file)
@@ -154,7 +154,7 @@ ZEND_API UChar *_eustrndup(const UChar *s, int32_t length ZEND_FILE_LINE_DC ZEND
 #define eumalloc(size)                                 (UChar*)malloc(UBYTES(size))
 #define eurealloc(ptr, size)                   (UChar*)erealloc((ptr), UBYTES(size))
 #define eustrndup(s, length)                   zend_ustrndup((s), (length))
-#define eustrdup(s)                                            zend_ustrdup((s), u_strlen(s))
+#define eustrdup(s)                                            zend_ustnrdup((s), u_strlen(s))
 
 /* Relay wrapper macros */
 #define emalloc_rel(size)                                      malloc(size)