FreeBSD Bugzilla – Attachment 78470 Details for
Bug 112858
[fix] databases/php5-oci8 broken since 5.2.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 812 bytes, created by
Šimun Mikecin
on 2007-05-22 11:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Šimun Mikecin
Created:
2007-05-22 11:50:01 UTC
Size:
812 bytes
patch
obsolete
>diff -urN php5-oci8.orig/files/patch-oci8_lob.c php5-oci8/files/patch-oci8_lob.c >--- php5-oci8.orig/files/patch-oci8_lob.c Thu Jan 1 01:00:00 1970 >+++ php5-oci8/files/patch-oci8_lob.c Tue May 22 12:34:09 2007 >@@ -0,0 +1,20 @@ >+--- oci8_lob.c.orig Thu Mar 29 11:33:03 2007 >++++ oci8_lob.c Tue May 22 12:33:23 2007 >+@@ -301,6 +301,7 @@ >+ } >+ >+ if (is_clob) { >++#ifdef OCI_NLS_CHARSET_MAXBYTESZ >+ PHP_OCI_CALL_RETURN(connection->errcode, OCINlsNumericInfoGet, (connection->env, connection->err, &bytes_per_char, OCI_NLS_CHARSET_MAXBYTESZ)); >+ >+ if (connection->errcode != OCI_SUCCESS) { >+@@ -308,6 +309,9 @@ >+ PHP_OCI_HANDLE_ERROR(connection, connection->errcode); >+ return 1; >+ } >++#else >++ bytes_per_char = 4; >++#endif >+ } else { >+ /* BLOBs don't have encoding, so bytes_per_char == 1 */ >+ }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 112858
: 78470