logo       

cvs: Zend(PHP_4_4) / zend_execute.c: msg#00068

Subject: cvs: Zend(PHP_4_4) / zend_execute.c
derick          Wed Sep 21 04:15:22 2005 EDT

  Modified files:              (Branch: PHP_4_4)
    /Zend       zend_execute.c 
  Log:
  - MFH: Moved the FREE_OP to after the execution of the included file, or eval
    statement so that it is safe to access this information in the overridden
    zend_execute() function, which is what Xdebug does.
  
  
http://cvs.php.net/diff.php/Zend/zend_execute.c?r1=1.316.2.49.2.10&r2=1.316.2.49.2.11&ty=u
Index: Zend/zend_execute.c
diff -u Zend/zend_execute.c:1.316.2.49.2.10 Zend/zend_execute.c:1.316.2.49.2.11
--- Zend/zend_execute.c:1.316.2.49.2.10 Mon Sep 19 12:03:09 2005
+++ Zend/zend_execute.c Wed Sep 21 04:15:21 2005
@@ -2252,7 +2252,6 @@
                                        if (inc_filename==&tmp_inc_filename) {
                                                zval_dtor(&tmp_inc_filename);
                                        }
-                                       FREE_OP(EX(Ts), &EX(opline)->op1, 
EG(free_op1));
                                        
EX(Ts)[EX(opline)->result.u.var].var.ptr_ptr = 
&EX(Ts)[EX(opline)->result.u.var].var.ptr;
                                        if (new_op_array) {
                                                zend_class_entry *saved_ce;
@@ -2300,6 +2299,7 @@
                                                        
EX(Ts)[EX(opline)->result.u.var].var.ptr->type = IS_BOOL;
                                                }
                                        }
+                                       FREE_OP(EX(Ts), &EX(opline)->op1, 
EG(free_op1));
                                        EG(return_value_ptr_ptr) = 
original_return_value;
                                }
                                NEXT_OPCODE();

-- 
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