Subject: | DBD::Oracle is broken on mac os x at least |
code in "dbdimp.c" within sub "dbd_preparse" has this declaration:
bool in_literal = '\0';
char in_comment = '\0';
and below in source:
if (in_literal) {
if (*src == in_literal)
in_literal = '\0';
*dest++ = *src++;
continue;
}
...
if (*src != ':' && *src != '?') {
if (*src == '\'' || *src == '"')
in_literal = *src;
*dest++ = *src++;
continue;
}
this code is functional until bool is char. if bool has one bit value, this code fails. please
apply patch and release new version of module
Subject: | dbdimp.diff |
Index: dbdimp.c
===================================================================
--- dbdimp.c (revision 12670)
+++ dbdimp.c (working copy)
@@ -1153,7 +1153,7 @@
{
dTHX;
D_imp_dbh_from_sth;
-bool in_literal = '\0';
+char in_literal = '\0';
char in_comment = '\0';
char *src, *start, *dest;
phs_t phs_tpl;