cvs: php-src(PHP_4_4) /ext/interbase interbase.c
| From: | Antony Dovgal | Date: | Fri, 16 Feb 2007 07:11:33 +0000 |
| Subject: | cvs: php-src(PHP_4_4) /ext/interbase interbase.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-43086@lists.php.net to get a copy of this message | ||
tony2001 Fri Feb 16 07:11:33 2007 UTC
Modified files: (Branch: PHP_4_4)
/php-src/ext/interbase interbase.c
Log:
fix ext/interbase build
http://cvs.php.net/viewvc.cgi/php-src/ext/interbase/interbase.c?r1=1.91.2.34.2.4&r2=1.91.2.34.2.5&diff_format=u
Index: php-src/ext/interbase/interbase.c
diff -u php-src/ext/interbase/interbase.c:1.91.2.34.2.4
php-src/ext/interbase/interbase.c:1.91.2.34.2.5
--- php-src/ext/interbase/interbase.c:1.91.2.34.2.4 Wed Jan 17 23:59:07 2007
+++ php-src/ext/interbase/interbase.c Fri Feb 16 07:11:33 2007
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: interbase.c,v 1.91.2.34.2.4 2007/01/17 23:59:07 iliaa Exp $ */
+/* $Id: interbase.c,v 1.91.2.34.2.5 2007/02/16 07:11:33 tony2001 Exp $ */
/* TODO: Arrays, roles?
@@ -643,7 +643,7 @@
php_info_print_table_start();
php_info_print_table_row(2, "Interbase Support", "enabled");
- php_info_print_table_row(2, "Revision", "$Revision: 1.91.2.34.2.4 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.91.2.34.2.5 $");
#ifdef COMPILE_DL_INTERBASE
php_info_print_table_row(2, "Dynamic Module", "yes");
#endif
@@ -3048,9 +3048,9 @@
*/
/* Build buffer for isc_service_attach() */
- snprintf(buf, sizeof(buf), "%c%c%c%d%s%c%d%s", isc_spb_version, isc_spb_current_version,
isc_spb_user_name,
+ snprintf(spb_buffer, sizeof(spb_buffer), "%c%c%c%d%s%c%d%s", isc_spb_version,
isc_spb_current_version, isc_spb_user_name,
strlen(dba_user_name), dba_user_name, isc_spb_password, strlen(dba_password), dba_password);
- spb_length = strlen(buf);
+ spb_length = strlen(spb_buffer);
/* Attach to the Service Manager */
snprintf(service_name, sizeof(service_name), "%s:service_mgr", ib_server);