apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Fogel <kfo...@newton.ch.collab.net>
Subject Re: proposal to add apr_check_dir_empty() to APR
Date Tue, 02 Jul 2002 22:46:03 GMT
"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

?

-K

Mime
View raw message