helly           Thu Mar 10 20:52:25 2005 EDT

  Modified files:              
    /php-src/ext/standard       streamsfuncs.c 
  Log:
  - Do not touch return_valu's refcount or is_ref
  
http://cvs.php.net/diff.php/php-src/ext/standard/streamsfuncs.c?r1=1.52&r2=1.53&ty=u
Index: php-src/ext/standard/streamsfuncs.c
diff -u php-src/ext/standard/streamsfuncs.c:1.52 
php-src/ext/standard/streamsfuncs.c:1.53
--- php-src/ext/standard/streamsfuncs.c:1.52    Fri Jan 14 23:50:26 2005
+++ php-src/ext/standard/streamsfuncs.c Thu Mar 10 20:52:24 2005
@@ -17,7 +17,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: streamsfuncs.c,v 1.52 2005/01/15 04:50:26 sniper Exp $ */
+/* $Id: streamsfuncs.c,v 1.53 2005/03/11 01:52:24 helly Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -933,9 +933,7 @@
                RETURN_FALSE;
        }
 
-       *return_value = *context->options;
-       zval_copy_ctor(return_value);
-       INIT_PZVAL(return_value);
+       RETURN_ZVAL(context->options, 1, 0);
 }
 /* }}} */
 

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

Reply via email to