[PHP-DEV] CVS update: php3 From: andi (php-dev <email protected>)
Date: 06/19/98

Date: Friday June 19, 1998 @ 3:05
Author: andi

Update of /repository/php3
In directory asf:/tmp/cvs-serv27967

Modified Files:
        control_structures_inline.h
Log Message:
I think I fixed the nonexistant function call bug reported in the bug database.
Should we be using var_uninit instead of var_reset everywhere where the function
call doesn't succeed?
Also I have a problem with the script he sent us. Please try and run it.
It doesn't seem to terminate when I call it wtih ./php bug.php3.
I don't have time to look into it right now.

Index: php3/control_structures_inline.h
diff -c php3/control_structures_inline.h:1.168 php3/control_structures_inline.h:1.169
*** php3/control_structures_inline.h:1.168 Mon May 25 16:56:51 1998
--- php3/control_structures_inline.h Fri Jun 19 03:05:19 1998
***************
*** 29,35 ****
   */
  
  
! /* $Id: control_structures_inline.h,v 1.168 1998/05/25 20:56:51 zeev Exp $ */
  
  #ifdef THREAD_SAFE
  #include "tls.h"
--- 29,35 ----
   */
  
  
! /* $Id: control_structures_inline.h,v 1.169 1998/06/19 07:05:19 andi Exp $ */
  
  #ifdef THREAD_SAFE
  #include "tls.h"
***************
*** 946,951 ****
--- 946,953 ----
                  GLOBAL(ExecuteFlag) = stack_int_top(&GLOBAL(css));
                  stack_del_top(&GLOBAL(css));
                  GLOBAL(Execute) = SHOULD_EXECUTE;
+ } else {
+ var_reset(result);
          }
  }