Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 906851 Details for
Bug 942283
dev-lang/php-8.1.30 fails to compile with gcc-14 if USE=pdo and USE=odbc
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
php-8.1.30-pgo-odbc-gcc14.patch
php-8.1.30-pgo-odbc-gcc14.patch (text/plain), 1.13 KB, created by
Attila Tóth
on 2024-10-26 12:25:11 UTC
(
hide
)
Description:
php-8.1.30-pgo-odbc-gcc14.patch
Filename:
MIME Type:
Creator:
Attila Tóth
Created:
2024-10-26 12:25:11 UTC
Size:
1.13 KB
patch
obsolete
>diff '--color=auto' -urNp php-8.1.30-orig/ext/pdo_odbc/odbc_driver.c php-8.1.30-dwok/ext/pdo_odbc/odbc_driver.c >--- php-8.1.30-orig/ext/pdo_odbc/odbc_driver.c 2024-10-26 13:38:23.089765439 +0200 >+++ php-8.1.30-dwok/ext/pdo_odbc/odbc_driver.c 2024-10-26 13:41:44.773268803 +0200 >@@ -83,7 +83,7 @@ void pdo_odbc_error(pdo_dbh_t *dbh, pdo_ > eh = H->env; > } > >- rc = SQLGetDiagRec(htype, eh, recno++, (SQLCHAR *) einfo->last_state, &einfo->last_error, >+ rc = SQLGetDiagRec(htype, eh, recno++, (SQLCHAR *) einfo->last_state, (SQLINTEGER *) &einfo->last_error, > (SQLCHAR *) einfo->last_err_msg, sizeof(einfo->last_err_msg)-1, &errmsgsize); > > if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { >@@ -98,7 +98,7 @@ void pdo_odbc_error(pdo_dbh_t *dbh, pdo_ > strcpy(*pdo_err, einfo->last_state); > /* printf("@@ SQLSTATE[%s] %s\n", *pdo_err, einfo->last_err_msg); */ > if (!dbh->methods) { >- zend_throw_exception_ex(php_pdo_get_exception(), einfo->last_error, "SQLSTATE[%s] %s: %d %s", >+ zend_throw_exception_ex(php_pdo_get_exception(), einfo->last_error, "SQLSTATE[%s] %s: %ld %s", > *pdo_err, what, einfo->last_error, einfo->last_err_msg); > } >
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 942283
: 906851