cvs: php-src /ext/spl spl_dllist.c
| From: | Etienne Kneuss | Date: | Tue, 15 Jan 2008 12:17:09 +0000 |
| Subject: | cvs: php-src /ext/spl spl_dllist.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-47842@lists.php.net to get a copy of this message | ||
colder Tue Jan 15 12:17:09 2008 UTC
Modified files:
/php-src/ext/spl spl_dllist.c
Log:
Fix ZTS build
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_dllist.c?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/spl/spl_dllist.c
diff -u php-src/ext/spl/spl_dllist.c:1.1 php-src/ext/spl/spl_dllist.c:1.2
--- php-src/ext/spl/spl_dllist.c:1.1 Tue Jan 15 09:37:50 2008
+++ php-src/ext/spl/spl_dllist.c Tue Jan 15 12:17:09 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_dllist.c,v 1.1 2008/01/15 09:37:50 colder Exp $ */
+/* $Id: spl_dllist.c,v 1.2 2008/01/15 12:17:09 colder Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -671,7 +671,7 @@
}
intern = (spl_dllist_object*)zend_object_store_get_object(getThis() TSRMLS_CC);
- index = spl_dllist_offset_convert(zindex);
+ index = spl_dllist_offset_convert(zindex TSRMLS_CC);
RETURN_BOOL(index >= 0 && index < intern->llist->count);
} /* }}} */
@@ -690,7 +690,7 @@
}
intern = (spl_dllist_object*)zend_object_store_get_object(getThis() TSRMLS_CC);
- index = spl_dllist_offset_convert(zindex);
+ index = spl_dllist_offset_convert(zindex TSRMLS_CC);
if (index < 0 || index >= intern->llist->count) {
zend_throw_exception(spl_ce_OutOfRangeException, "Offset out of range", 0 TSRMLS_CC);
@@ -730,7 +730,7 @@
long index;
spl_ptr_llist_element *element;
- index = spl_dllist_offset_convert(zindex);
+ index = spl_dllist_offset_convert(zindex TSRMLS_CC);
if (index < 0 || index >= intern->llist->count) {
zend_throw_exception(spl_ce_OutOfRangeException, "Offset out of range", 0 TSRMLS_CC);
@@ -766,7 +766,7 @@
}
intern = (spl_dllist_object*)zend_object_store_get_object(getThis() TSRMLS_CC);
- index = (int)spl_dllist_offset_convert(zindex);
+ index = (int)spl_dllist_offset_convert(zindex TSRMLS_CC);
llist = intern->llist;
if (index < 0 || index >= intern->llist->count) {