cvs: php4 /ext/interbase interbase.c
| From: | Wez Furlong | Date: | Sat, 16 Mar 2002 18:43:42 +0000 |
| Subject: | cvs: php4 /ext/interbase interbase.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10257@lists.php.net to get a copy of this message | ||
wez Sat Mar 16 13:43:42 2002 EDT
Modified files:
/php4/ext/interbase interbase.c
Log:
fix build problem for interbase
Index: php4/ext/interbase/interbase.c
diff -u php4/ext/interbase/interbase.c:1.79 php4/ext/interbase/interbase.c:1.80
--- php4/ext/interbase/interbase.c:1.79 Fri Mar 15 16:02:59 2002
+++ php4/ext/interbase/interbase.c Sat Mar 16 13:43:41 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: interbase.c,v 1.79 2002/03/15 21:02:59 wez Exp $ */
+/* $Id: interbase.c,v 1.80 2002/03/16 18:43:41 wez Exp $ */
/* TODO: Arrays, roles?
@@ -595,7 +595,7 @@
php_info_print_table_start();
php_info_print_table_row(2, "Interbase Support", "enabled");
- php_info_print_table_row(2, "Revision", "$Revision: 1.79 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.80 $");
#ifdef COMPILE_DL_INTERBASE
php_info_print_table_row(2, "Dynamic Module", "yes");
#endif
@@ -2870,7 +2870,6 @@
ibase_blob_handle ib_blob;
ibase_db_link *ib_link;
char bl_data[IBASE_BLOB_SEG]; /* FIXME? blob_seg_size parameter? */
- void * what;
int type;
php_stream * stream;
@@ -2916,7 +2915,7 @@
size = 0;
- while(b = php_stream_read((php_stream*)what, bl_data, 1, sizeof(bl_data)) > 0) {
+ while(b = php_stream_read(stream, bl_data, sizeof(bl_data)) > 0) {
if (isc_put_segment(IB_STATUS, &ib_blob.bl_handle, b, bl_data)) {
_php_ibase_error();
RETURN_FALSE;