For Programmers: Free Programming Magazines  


Home > Archive > PHP Zend Engine > October 2004 > cvs: ZendEngine2 / zend_reflection_api.c









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_reflection_api.c
Marcus Boerger

2004-10-06, 8:55 pm

helly Wed Oct 6 17:23:23 2004 EDT

Modified files:
/ZendEngine2 zend_reflection_api.c
Log:
- Fix Bug #30344

http://cvs.php.net/diff.php/ZendEng...1&r2=1.132&ty=u
Index: ZendEngine2/zend_reflection_api.c
diff -u ZendEngine2/zend_reflection_api.c:1.131 ZendEngine2/zend_reflection_api.c:1.132
--- ZendEngine2/zend_reflection_api.c:1.131 Tue Sep 28 15:06:15 2004
+++ ZendEngine2/zend_reflection_api.c Wed Oct 6 17:23:18 2004
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/

-/* $Id: zend_reflection_api.c,v 1.131 2004/09/28 19:06:15 helly Exp $ */
+/* $Id: zend_reflection_api.c,v 1.132 2004/10/06 21:23:18 helly Exp $ */
#include "zend.h"
#include "zend_API.h"
#include "zend_exceptions.h"
@@ -1131,27 +1131,27 @@
array_init(return_value);

if (modifiers & (ZEND_ACC_ABSTRACT | ZEND_ACC_EXPLICIT_ABSTRACT_CLASS)) {
- add_next_index_stringl(return_value, "abstract", sizeof("abstract"), 1);
+ add_next_index_stringl(return_value, "abstract", sizeof("abstract")-1, 1);
}
if (modifiers & (ZEND_ACC_FINAL | ZEND_ACC_FINAL_CLASS)) {
- add_next_index_stringl(return_value, "final", sizeof("final"), 1);
+ add_next_index_stringl(return_value, "final", sizeof("final")-1, 1);
}

/* These are mutually exclusive */
switch (modifiers & ZEND_ACC_PPP_MASK) {
case ZEND_ACC_PUBLIC:
- add_next_index_stringl(return_value, "public", sizeof("public"), 1);
+ add_next_index_stringl(return_value,
"public", sizeof("public")-1, 1);
break;
case ZEND_ACC_PRIVATE:
- add_next_index_stringl(return_value, "private", sizeof("private"), 1);
+ add_next_index_stringl(return_value,
"private", sizeof("private")-1, 1);
break;
case ZEND_ACC_PROTECTED:
- add_next_index_stringl(return_value, "protected", sizeof("protected"), 1);
+ add_next_index_stringl(return_value,
"protected", sizeof("protected")-1, 1);
break;
}

if (modifiers & ZEND_ACC_STATIC) {
- add_next_index_stringl(return_value, "static", sizeof("static"), 1);
+ add_next_index_stringl(return_value, "static", sizeof("static")-1, 1);
}
}
/* }}} */
Sponsored Links







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

Copyright 2008 codecomments.com