SOURCES: php4-interbase.patch (NEW) - fix build

arekm arekm at pld-linux.org
Mon Feb 19 09:32:24 CET 2007


Author: arekm                        Date: Mon Feb 19 08:32:24 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix build

---- Files affected:
SOURCES:
   php4-interbase.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/php4-interbase.patch
diff -u /dev/null SOURCES/php4-interbase.patch:1.1
--- /dev/null	Mon Feb 19 09:32:24 2007
+++ SOURCES/php4-interbase.patch	Mon Feb 19 09:32:19 2007
@@ -0,0 +1,14 @@
+--- php-4.4.5/ext/interbase/interbase.c.org	2007-02-19 09:20:58.986623000 +0100
++++ php-4.4.5/ext/interbase/interbase.c	2007-02-19 09:25:40.666623000 +0100
+@@ -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, sizeof(spb), "%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);
+ 
+ 	/* Attach to the Service Manager */
+ 	snprintf(service_name, sizeof(service_name), "%s:service_mgr", ib_server);
================================================================


More information about the pld-cvs-commit mailing list