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

Re: Fwd: [Issue 2399] svn_ra_stat returning error for non-existent path instead of NULL dirent_t*

From: William Ferguson <william_ferguson_au_at_yahoo.com>
Date: 2005-09-13 13:07:27 CEST

> you're right. This is a bug then.
>
> Since you have already studied the code, do you have
> a proposed fix?

I'm currently on several weeks leave, so I don't have
any of the development environment to handle this at
home (I'm not a C developer by trade).

But as I recall around about line 757 of the #openPath
function in libsvn_fs_fs\tree.c it iterates through
the segments of the path and if it finds a segment
that is not folder it returns the error. Instead, at
that point it should just set the dirent_t* to NULL
and return SVN_NO_ERROR.

William

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 13 13:08:05 2005

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.