logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

cvs: ZendEngine2(PHP_5_0) / zend_reflection_api.c: msg#00016

Subject: cvs: ZendEngine2(PHP_5_0) / zend_reflection_api.c
helly           Wed Oct  6 17:25:38 2004 EDT

  Modified files:              (Branch: PHP_5_0)
    /ZendEngine2        zend_reflection_api.c 
  Log:
  - MFH Fix Bug #30344
  
http://cvs.php.net/diff.php/ZendEngine2/zend_reflection_api.c?r1=1.111.2.7&r2=1.111.2.8&ty=u
Index: ZendEngine2/zend_reflection_api.c
diff -u ZendEngine2/zend_reflection_api.c:1.111.2.7 
ZendEngine2/zend_reflection_api.c:1.111.2.8
--- ZendEngine2/zend_reflection_api.c:1.111.2.7 Mon Sep 27 18:28:58 2004
+++ ZendEngine2/zend_reflection_api.c   Wed Oct  6 17:25:37 2004
@@ -19,7 +19,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_reflection_api.c,v 1.111.2.7 2004/09/27 22:28:58 helly Exp $ */
+/* $Id: zend_reflection_api.c,v 1.111.2.8 2004/10/06 21:25:37 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);
        }
 }
 /* }}} */

-- 
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>