> I was suggested by Jindrich Novy, the Fedora db4 maintainer, to implement own error handler, something along the lines:
>
> dbp->set_errcall(dbp, my_error_handler);
>
> void
> my_error_handler(const char *error_prefix, char *msg)
> {}
>
> i.e. all errors will be suppressed.

I suspect this will break old dbm support. ;-)