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

Re: [PATCH] svn_path_is_empty

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-02-21 00:25:49 CET

Applied! Thanks!

Cheers,
-g

On Mon, Feb 19, 2001 at 11:09:46AM +0900, Yoshiki Hayashi wrote:
> My first real bug fix. :-)
>
> (svn_path_is_empty): Construct current dir correctly.
>
> Index: path.c
> ===================================================================
> RCS file: /cvs/subversion/subversion/libsvn_subr/path.c,v
> retrieving revision 1.31
> diff -u -r1.31 path.c
> --- path.c 2001/02/12 16:53:23 1.31
> +++ path.c 2001/02/19 02:06:30
> @@ -187,8 +187,8 @@
>
> char buf[3];
> buf[0] = '.';
> - buf[0] = dirsep;
> - buf[0] = '\0';
> + buf[1] = dirsep;
> + buf[2] = '\0';
>
> return ((path == NULL)
> || (svn_string_isempty (path))
>
>
> --
> Yoshiki Hayashi

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:22 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.