Author: stsp
Date: Wed Jul 21 19:53:56 2010
New Revision: 966390

URL: http://svn.apache.org/viewvc?rev=966390&view=rev
Log:
Fix another segfault in svnrdump. Now it can produce dump files again :)

* subversion/svnrdump/dump_editor.c
  (make_dir_baton, open_directory): Terminate svn_dirent_join_many() argument
   list with NULL.

Modified:
    subversion/trunk/subversion/svnrdump/dump_editor.c

Modified: subversion/trunk/subversion/svnrdump/dump_editor.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/svnrdump/dump_editor.c?rev=966390&r1=966389&r2=966390&view=diff
==============================================================================
--- subversion/trunk/subversion/svnrdump/dump_editor.c (original)
+++ subversion/trunk/subversion/svnrdump/dump_editor.c Wed Jul 21 19:53:56 2010
@@ -64,7 +64,7 @@ make_dir_baton(const char *path,
 
   /* Construct the full path of this node. */
   if (pb)
-    abspath = svn_dirent_join_many(pool, "/", path);
+    abspath = svn_dirent_join_many(pool, "/", path, NULL);
   else
     abspath = apr_pstrdup(pool, "/");
 
@@ -312,7 +312,8 @@ open_directory(const char *path,
      record the same for this one. */
   if (pb && ARE_VALID_COPY_ARGS(pb->copyfrom_path, pb->copyfrom_rev)) {
     copyfrom_path = svn_dirent_join_many(pool, pb->copyfrom_path,
-                                         svn_relpath_basename(path, pool));
+                                         svn_relpath_basename(path, pool),
+                                         NULL);
     copyfrom_rev = pb->copyfrom_rev;
   }
 


Reply via email to