Re: How to get started with Unicode
| From: | Nuno Lopes | Date: | Fri, 12 Aug 2005 18:51:40 +0000 |
| Subject: | Re: How to get started with Unicode | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-17901@lists.php.net to get a copy of this message | ||
Attached is a patch to fix the build with zend mm disabled. (just a little typo)
Nuno
Index: Zend/zend_alloc.h =================================================================== RCS file: /repository/ZendEngine2/zend_alloc.h,v retrieving revision 1.66 diff -u -r1.66 zend_alloc.h --- Zend/zend_alloc.h 12 Aug 2005 17:29:21 -0000 1.66 +++ Zend/zend_alloc.h 12 Aug 2005 18:50:33 -0000 @@ -154,7 +154,7 @@ #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_ustnrdup((s), u_strlen(s)) +#define eustrdup(s) zend_ustrndup((s), u_strlen(s)) /* Relay wrapper macros */ #define emalloc_rel(size) malloc(size)
Index: Zend/zend_alloc.h =================================================================== RCS file: /repository/ZendEngine2/zend_alloc.h,v retrieving revision 1.66 diff -u -r1.66 zend_alloc.h --- Zend/zend_alloc.h 12 Aug 2005 17:29:21 -0000 1.66 +++ Zend/zend_alloc.h 12 Aug 2005 18:50:33 -0000 @@ -154,7 +154,7 @@ #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_ustnrdup((s), u_strlen(s)) +#define eustrdup(s) zend_ustrndup((s), u_strlen(s)) /* Relay wrapper macros */ #define emalloc_rel(size) malloc(size)