[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: CVS update: subversion/subversion/libsvn_subr io.c

From: Greg Stein <gstein_at_lyra.org>
Date: 2000-10-18 04:43:31 CEST

On Wed, Oct 18, 2000 at 01:13:07AM -0000, kfogel@tigris.org wrote:
>...
> + else if (apr_err == APR_ENOENT) /* which is better, this test... */
> + *kind = svn_invalid_kind;
> + else if (finfo.filetype == APR_NOFILE) /* ... or this one? */
> + *kind = svn_invalid_kind;

Not obvious from apr_file_io.h, but APR_NOFILE is APR's way of saying
"something is there, but I have no idea what it is."

APR_ENOENT means that nothing was there.

I'll update the APR header with this info.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:11 2006

This is an archived mail posted to the Subversion Dev mailing list.