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

Re: svn_ra_stat

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-09-10 01:40:32 CEST

On Sep 8, 2005, at 10:14 PM, William Ferguson wrote:
>
> I wouldn't have thought this was expected, is it?
> I kind of expected svn_ra_stat to just return a NULL dirent*.

Why do you expect a NULL dirent when you ask the filesystem to open a
completely bogus path? It's not merely a case of the entry not
existing; it's an actual _error_ to treat an existing file as if it
were a directory.

At least this is how a unix filesystem behaves. You get an ENOTDIR
error back.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Sep 10 01:42:20 2005

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

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