cvs: ZendEngine2 / zend_API.c

From: Date: Sun, 24 Aug 2003 16:09:50 +0000
Subject: cvs: ZendEngine2 / zend_API.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-1691@lists.php.net to get a copy of this message
zeev Sun Aug 24 12:09:50 2003 EDT Modified files: /ZendEngine2 zend_API.c Log: Get rid of more ^M's - Marcus, please check your CVS client! Index: ZendEngine2/zend_API.c diff -u ZendEngine2/zend_API.c:1.205 ZendEngine2/zend_API.c:1.206 --- ZendEngine2/zend_API.c:1.205 Sun Aug 24 07:07:30 2003 +++ ZendEngine2/zend_API.c Sun Aug 24 12:09:49 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_API.c,v 1.205 2003/08/24 11:07:30 helly Exp $ */ +/* $Id: zend_API.c,v 1.206 2003/08/24 16:09:49 zeev Exp $ */ #include "zend.h" #include "zend_execute.h" @@ -1672,9 +1672,9 @@ property = malloc(sizeof(zval)); } else { ALLOC_ZVAL(property); - } + } INIT_ZVAL(*property); - return zend_declare_property(ce, name, name_length, property, access_type); + return zend_declare_property(ce, name, name_length, property, access_type); } ZEND_API int zend_declare_property_long(zend_class_entry *ce, char *name, int name_length, long value, int access_type) @@ -1685,10 +1685,10 @@ property = malloc(sizeof(zval)); } else { ALLOC_ZVAL(property); - } + } INIT_PZVAL(property); ZVAL_LONG(property, value); - return zend_declare_property(ce, name, name_length, property, access_type); + return zend_declare_property(ce, name, name_length, property, access_type); } ZEND_API void zend_update_property(zend_class_entry *scope, zval *object, char *name, int name_length, zval *value TSRMLS_DC)

« previous php.zend-engine.cvs (#1691) next »