[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: Karl Fogel <kfogel_at_galois.collab.net>
Date: 2000-10-18 17:57:00 CEST

Greg Stein <gstein@lyra.org> writes:
> > + 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.

Interesting.

I'll leave both tests, then; that gets the most useful result for
Subversion.
Received on Sat Oct 21 14:36:11 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.