We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f42ea85 commit 2568672Copy full SHA for 2568672
ext/dba/dba_db4.c
@@ -48,7 +48,7 @@ static void php_dba_db4_errcall_fcn(
48
/* Bug 51086, Berkeley DB 4.8.26 */
49
/* This code suppresses a BDB 4.8+ error message, thus keeping PHP test compatibility */
50
{
51
- char *function = get_active_function_name(TSRMLS_C);
+ const char *function = get_active_function_name(TSRMLS_C);
52
if (function && (!strcmp(function,"dba_popen") || !strcmp(function,"dba_open"))
53
&& (!strncmp(msg, "fop_read_meta", sizeof("fop_read_meta")-1)
54
|| !strncmp(msg, "BDB0004 fop_read_meta", sizeof("BDB0004 fop_read_meta")-1))) {
0 commit comments