Hi,

This patch fixes a few path related deprecation warnings.
These seem to be obvious fixes.

I have attached the patch and the log message with this mail.


Thanks and regards
Prabhu
Index: subversion/libsvn_repos/commit.c
===================================================================
--- subversion/libsvn_repos/commit.c	(revision 1053267)
+++ subversion/libsvn_repos/commit.c	(working copy)
@@ -231,7 +231,7 @@
   svn_node_kind_t kind;
   svn_revnum_t cr_rev;
   svn_repos_authz_access_t required = svn_authz_write;
-  const char *full_path = svn_path_join(eb->base_path, path, pool);
+  const char *full_path = svn_dirent_join(eb->base_path, path, pool);
 
   /* Check PATH in our transaction.  */
   SVN_ERR(svn_fs_check_path(&kind, eb->txn_root, full_path, pool));
@@ -292,7 +292,7 @@
 {
   struct dir_baton *pb = parent_baton;
   struct edit_baton *eb = pb->edit_baton;
-  const char *full_path = svn_path_join(eb->base_path, path, pool);
+  const char *full_path = svn_dirent_join(eb->base_path, path, pool);
   apr_pool_t *subpool = svn_pool_create(pool);
   svn_boolean_t was_copied = FALSE;
 
@@ -385,7 +385,7 @@
   struct dir_baton *pb = parent_baton;
   struct edit_baton *eb = pb->edit_baton;
   svn_node_kind_t kind;
-  const char *full_path = svn_path_join(eb->base_path, path, pool);
+  const char *full_path = svn_dirent_join(eb->base_path, path, pool);
 
   /* Check PATH in our transaction.  If it does not exist,
      return a 'Path not present' error. */
@@ -438,7 +438,7 @@
   struct file_baton *new_fb;
   struct dir_baton *pb = parent_baton;
   struct edit_baton *eb = pb->edit_baton;
-  const char *full_path = svn_path_join(eb->base_path, path, pool);
+  const char *full_path = svn_dirent_join(eb->base_path, path, pool);
   apr_pool_t *subpool = svn_pool_create(pool);
 
   /* Sanity check. */
@@ -533,7 +533,7 @@
   struct edit_baton *eb = pb->edit_baton;
   svn_revnum_t cr_rev;
   apr_pool_t *subpool = svn_pool_create(pool);
-  const char *full_path = svn_path_join(eb->base_path, path, pool);
+  const char *full_path = svn_dirent_join(eb->base_path, path, pool);
 
   /* Check for read authorization. */
   SVN_ERR(check_authz(eb, full_path, eb->txn_root,
[[[
Clears some svn_path_join deprecation warnings

* subversion/libsvn_repos/commit.c
  (delete_entry, add_directory, open_directory, add_file, open_file):
    use 'svn_dirent_join' instead of the deprecated function 'svn_path_join'


Patch by: Prabhu Gnana Sundar <prabhugs{_AT_}collab.net>
]]]

Reply via email to