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

[PATCH] svn_path_is_empty

From: Yoshiki Hayashi <yoshiki_at_xemacs.org>
Date: 2001-02-19 03:09:46 CET

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
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.