helly Wed May 12 18:17:03 2004 EDT
Modified files:
/TSRM TSRM.c
Log:
ifdef out the ts_free_id until php 5.1 and until it is complete
http://cvs.php.net/diff.php/TSRM/TSRM.c?r1=1.57&r2=1.58&ty=u
Index: TSRM/TSRM.c
diff -u TSRM/TSRM.c:1.57 TSRM/TSRM.c:1.58
--- TSRM/TSRM.c:1.57 Wed May 12 06:30:46 2004
+++ TSRM/TSRM.c Wed May 12 18:17:01 2004
@@ -159,9 +159,11 @@
next_p = p->next;
for (j=0; j<p->count; j++) {
if (p->storage[j]) {
+#if MBO_0
if (resource_types_table &&
resource_types_table[j].dtor) {
resource_types_table[j].dtor(p->storage[j], &p->storage);
}
+#endif
free(p->storage[j]);
}
}
@@ -422,6 +424,7 @@
/* deallocates all occurrences of a given id */
void ts_free_id(ts_rsrc_id id)
{
+#if MBO_0
int i;
int j = TSRM_UNSHUFFLE_RSRC_ID(id);
@@ -449,6 +452,7 @@
tsrm_mutex_unlock(tsmm_mutex);
TSRM_ERROR((TSRM_ERROR_LEVEL_CORE, "Successfully freed resource id %d",
id));
+#endif
}
--
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|