cvs: ZendEngine2 / zend_execute.c zend_list.c
| From: | Andi Gutmans | Date: | Sun, 15 Sep 2002 07:46:20 +0000 |
| Subject: | cvs: ZendEngine2 / zend_execute.c zend_list.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-422@lists.php.net to get a copy of this message | ||
andi Sun Sep 15 03:46:20 2002 EDT
Modified files:
/ZendEngine2 zend_execute.c zend_list.c
Log:
- WS fix - "while (" instead of "while("
Index: ZendEngine2/zend_execute.c
diff -u ZendEngine2/zend_execute.c:1.366 ZendEngine2/zend_execute.c:1.367
--- ZendEngine2/zend_execute.c:1.366 Sun Sep 15 03:45:25 2002
+++ ZendEngine2/zend_execute.c Sun Sep 15 03:46:19 2002
@@ -444,7 +444,7 @@
* the value of an assignment to a string offset is undefined
Ts[result->u.var].var = &T->EA.data.str_offset.str;
*/
- } while(0);
+ } while (0);
/* zval_ptr_dtor(&T->EA.data.str_offset.str); Nuke this line if it doesn't cause a
leak */
T->tmp_var.type = IS_STRING;
}
@@ -1778,7 +1778,7 @@
ulong dummy;
zend_hash_internal_pointer_reset_ex(&ce->constants_table, &pos);
- while(zend_hash_get_current_data_ex(&ce->constants_table, (void
**)&import_constant, &pos) == SUCCESS) {
+ while (zend_hash_get_current_data_ex(&ce->constants_table, (void
**)&import_constant, &pos) == SUCCESS) {
key_type = zend_hash_get_current_key_ex(&ce->constants_table, &key,
&key_length, &dummy, 0, &pos);
c.value = **import_constant;
Index: ZendEngine2/zend_list.c
diff -u ZendEngine2/zend_list.c:1.54 ZendEngine2/zend_list.c:1.55
--- ZendEngine2/zend_list.c:1.54 Sun Sep 15 03:45:26 2002
+++ ZendEngine2/zend_list.c Sun Sep 15 03:46:20 2002
@@ -313,7 +313,7 @@
HashPosition pos;
zend_hash_internal_pointer_reset_ex(&list_destructors, &pos);
- while(zend_hash_get_current_data_ex(&list_destructors, (void **)&lde, &pos) ==
SUCCESS) {
+ while (zend_hash_get_current_data_ex(&list_destructors, (void **)&lde, &pos) ==
SUCCESS) {
if (strcmp(type_name, lde->type_name) == 0) {
#if 0
printf("Found resource id %d for resource type %s\n", (*lde).resource_id, type_name);