|
From: Markus H. <mar...@mh...> - 2008-02-16 16:10:23
|
Rainer Gerhards writes:
> Please review the patch, comments are of course welcome.
>
Thanks for the patch, which looks pretty clean and useful. However, a
quick test on FreeBSD using libdbi-drivers "make check" (which
still uses the *old* interface) causes a coredump:
5 drivers available: /usr/local/bin/bash: line 4: 5147 Segmentation fault: 11 (core dumped) ${dir}$tst
and gdb says:
(gdb) bt
#0 0x28080561 in dbi_driver_get_name () from /usr/local/lib/libdbi.so.0
#1 0x0804a8df in ask_for_conninfo (ptr_cinfo=0xbfbfe240) at test_dbi.c:525
#2 0x08049883 in main (argc=1, argv=0xbfbfe758) at test_dbi.c:69
I'll further investigate, but if you see an obvious error in the code
based on this observation, let me know.
regards,
Markus
--
Markus Hoenicka
mar...@ca...
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de
|