cvs: php4 /ext/standard array.c
| From: | Andrei Zmievski | Date: | Wed, 28 Jun 2000 20:09:04 +0000 |
| Subject: | cvs: php4 /ext/standard array.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-535@lists.php.net to get a copy of this message | ||
andrei Wed Jun 28 13:09:04 2000 EDT
Modified files:
/php4/ext/standard array.c
Log:
Oops, didn't mean to commit that.
Index: php4/ext/standard/array.c
diff -u php4/ext/standard/array.c:1.59 php4/ext/standard/array.c:1.60
--- php4/ext/standard/array.c:1.59 Wed Jun 28 13:07:26 2000
+++ php4/ext/standard/array.c Wed Jun 28 13:09:04 2000
@@ -1373,7 +1373,7 @@
if (p->nKeyLength)
zend_hash_update(out_hash, p->arKey, p->nKeyLength, &entry, sizeof(zval *), NULL);
else
- zend_hash_index_update(out_hash, p->h, &entry, sizeof(zval *), NULL);
+ zend_hash_next_index_insert(out_hash, &entry, sizeof(zval *), NULL);
}
/* If hash for removed entries exists, go until offset+length
@@ -1385,7 +1385,7 @@
if (p->nKeyLength)
zend_hash_update(*removed, p->arKey, p->nKeyLength, &entry, sizeof(zval *), NULL);
else
- zend_hash_index_update(*removed, p->h, &entry, sizeof(zval *), NULL);
+ zend_hash_next_index_insert(*removed, &entry, sizeof(zval *), NULL);
}
} else /* otherwise just skip those entries */
for( ; pos<offset+length && p; pos++, p=p->pListNext);