dbzstore error reporting

Russ Allbery rra at stanford.edu
Tue Dec 24 18:44:40 UTC 2002


Jeffrey M Vinocur <jeff at litech.org> writes:

> I get the following amusing errors:

>     makehistory: dbzstore duplicate message-id [...] Success

> which are surely indicative of something including errno when it should
> just show the text in question.  But I don't know enough about the
> possible errors there to know which cases should call strerror() and
> which shouldn't, so I thought I'd toss it out as a general heads-up.

This is a fairly large problem all throughout the current dbz code.  It
really should be integrated a bit closer into the history code so that it
can set a history API error message that callers could query.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.


More information about the inn-workers mailing list