logo       

cvs: ZendEngine2 / zend_compile.c: msg#00057

Subject: cvs: ZendEngine2 / zend_compile.c
pollita         Fri Aug 20 20:00:17 2004 EDT

  Modified files:              
    /ZendEngine2        zend_compile.c 
  Log:
  Bugfix#29777 Some compilers don't like // style comments
  
  
http://cvs.php.net/diff.php/ZendEngine2/zend_compile.c?r1=1.578&r2=1.579&ty=u
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.578 ZendEngine2/zend_compile.c:1.579
--- ZendEngine2/zend_compile.c:1.578    Sun Aug 15 11:48:32 2004
+++ ZendEngine2/zend_compile.c  Fri Aug 20 20:00:16 2004
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_compile.c,v 1.578 2004/08/15 15:48:32 helly Exp $ */
+/* $Id: zend_compile.c,v 1.579 2004/08/21 00:00:16 pollita Exp $ */
 
 #include "zend_language_parser.h"
 #include "zend.h"
@@ -1102,7 +1102,7 @@
         * the beginning of the name speeds up the check process */
        name_len = strlen(CG(active_op_array)->function_name);
        zend_str_tolower_copy(lcname, CG(active_op_array)->function_name, 
MIN(name_len, sizeof(lcname)-1));
-       lcname[sizeof(lcname)-1] = '\0'; // zend_str_tolower_copy won't 
necessarily set the zero byte
+       lcname[sizeof(lcname)-1] = '\0'; /* zend_str_tolower_copy won't 
necessarily set the zero byte */
 
        if (CG(active_class_entry)) {
                if (name_len == sizeof(ZEND_DESTRUCTOR_FUNC_NAME) - 1 && 
!memcmp(lcname, ZEND_DESTRUCTOR_FUNC_NAME, sizeof(ZEND_DESTRUCTOR_FUNC_NAME)) 
&& CG(active_op_array)->num_args != 0) {

-- 
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>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe