apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Bloom" <...@covalent.net>
Subject RE: proposal to add apr_check_dir_empty() to APR
Date Tue, 02 Jul 2002 23:06:49 GMT
> From: Karl Fogel [mailto:kfogel@newton.ch.collab.net]
> 
> "Ryan Bloom" <rbb@covalent.net> writes:
> > Just use
> >
> > APR_DIR_EMPTY
> 
> Btw, we needed the reverse sense.  That is, if APR_EEXIST would have
> indicated that the dir is not empty, then if we're not going to use
> it, we should use APR_DIR_NOT_EMPTY instead.
> 
> The question is, should APR_SUCCESS indicate that the dir is empty, or
> do we need both
> 
>    APR_DIR_EMPTY
>    APR_DIR_NOT_EMPTY

Sorry, use APR_SUCCESS for success and APR_DIR_NOT_EMPTY for failure.

Ryan



Mime
View raw message