cvs: /php4/ext/informix ifx.ec
| From: | Danny Heijl | Date: | Fri, 03 Sep 1999 19:50:13 +0000 |
| Subject: | cvs: /php4/ext/informix ifx.ec | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4062@lists.php.net to get a copy of this message | ||
danny Fri Sep 3 15:50:13 1999 EDT
Modified files:
/php4/ext/informix ifx.ec
Log:
- backed out IS_RESOURCE stuff in favour of old php3-style IS_LONG
for now. This makes the Informix driver work again.
Index: php4/ext/informix/ifx.ec
diff -u php4/ext/informix/ifx.ec:1.15 php4/ext/informix/ifx.ec:1.16
--- php4/ext/informix/ifx.ec:1.15 Sat Aug 14 11:30:47 1999
+++ php4/ext/informix/ifx.ec Fri Sep 3 15:50:13 1999
@@ -675,7 +675,7 @@
if (ptr && (type==IFXG(le_link) || type==IFXG(le_plink))) {
zend_list_addref(link);
return_value->value.lval = IFXG(default_link) = link;
- return_value->type = IS_RESOURCE;
+ return_value->type = IS_LONG;
efree(hashed_details);
return;
} else {
@@ -709,7 +709,7 @@
/* add it to the list */
return_value->value.lval = php3_list_insert(ifx,IFXG(le_link));
- return_value->type = IS_RESOURCE;
+ return_value->type = IS_LONG;
/* add it to the hash */
new_index_ptr.ptr = (void *) return_value->value.lval;