apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: cvs commit: apr-util/include/private apr_dbm_private.h
Date Mon, 10 Dec 2001 10:25:25 GMT
On Sun, Dec 09, 2001 at 08:51:49PM -0800, Justin Erenkrantz wrote:
> On Sun, Dec 09, 2001 at 01:00:11PM -0800, Ian Holsman wrote:
>...
> > one thing I've noticed with the BerkeleyDB support is that we have
> > slightly different functionality when we do iterate through a DBM
> > gdbm/sdbm return a NULL key/value at EOF (with not error)
> > while Berkeley's return a DB_NOT_FOUND at the end.
> > it's minor.. but it needs to be fixed
> 
> Which one is correct behavior?  -- justin

Setting the key/value to NULL and return APR_SUCCESS.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message