For Programmers: Free Programming Magazines  


Home > Archive > PHP Zend Engine > November 2006 > cvs: ZendEngine2 / zend_API.h









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: ZendEngine2 / zend_API.h
Antony Dovgal

2006-11-15, 6:56 pm

tony2001 Wed Nov 15 22:50:19 2006 UTC

Modified files:
/ZendEngine2 zend_API.h
Log:
fix typo (patch by Mike Wallner)


http://cvs.php.net/viewvc.cgi/ZendE...9&diff_format=u
Index: ZendEngine2/zend_API.h
diff -u ZendEngine2/zend_API.h:1.268 ZendEngine2/zend_API.h:1.269
--- ZendEngine2/zend_API.h:1.268 Fri Oct 27 21:22:05 2006
+++ ZendEngine2/zend_API.h Wed Nov 15 22:50:19 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/

-/* $Id: zend_API.h,v 1.268 2006/10/27 21:22:05 andrei Exp $ */
+/* $Id: zend_API.h,v 1.269 2006/11/15 22:50:19 tony2001 Exp $ */

#ifndef ZEND_API_H
#define ZEND_API_H
@@ -1252,7 +1252,7 @@

#define add_index_ascii_stringl(arg, idx, str, length, flags) do { \
if (UG(unicode)) { \
- int ___u_len; \
+ int ___u_len = length; \
UChar *___u_str = zend_ascii_to_unicode((str), (___u_len)+1 ZEND_FILE_LINE_CC); \
if ((flags) & ZSTR_AUTOFREE) { \
efree(str); \
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com