Date: 05/30/98
- Next message: Zeev Suraski: "[PHP-DEV] Re: empty() II"
- Previous message: rasmus: "[PHP-DEV] CVS update: php3/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Saturday May 30, 1998 @ 10:16
Author: rasmus
Update of /repository/php31/ext/oracle
In directory asf:/tmp/cvs-serv4468/ext/oracle
Modified Files:
oracle.c
Log Message:
Oracle strncat fix for 3.1 tree
Index: php31/ext/oracle/oracle.c
diff -c php31/ext/oracle/oracle.c:1.1.1.1 php31/ext/oracle/oracle.c:1.2
*** php31/ext/oracle/oracle.c:1.1.1.1 Tue May 26 22:26:56 1998
--- php31/ext/oracle/oracle.c Sat May 30 10:16:58 1998
***************
*** 1344,1351 ****
l--;
}
if (cda->fc > 0) {
! strncat(errmsg, " -- while processing OCI function ", 100);
! strcat(errmsg, ora_func_tab[cda->fc]);
}
return (char *) errmsg;
}
--- 1344,1351 ----
l--;
}
if (cda->fc > 0) {
! strcat(errmsg, " -- while processing OCI function ");
! strncat(errmsg, ora_func_tab[cda->fc], 75); /* 512 - 400 - 36 */
}
return (char *) errmsg;
}
- Next message: Zeev Suraski: "[PHP-DEV] Re: empty() II"
- Previous message: rasmus: "[PHP-DEV] CVS update: php3/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

