You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2018/01/22 12:47:45 UTC

svn commit: r1821858 - /subversion/trunk/subversion/svn/shelf-cmd.c

Author: julianfoad
Date: Mon Jan 22 12:47:45 2018
New Revision: 1821858

URL: http://svn.apache.org/viewvc?rev=1821858&view=rev
Log:
Don't use deprecated functions.

Found by: MacOS warnings buildbot.

* subversion/svn/shelf-cmd.c
  (run_status_on_wc_paths,
   check_no_modified_paths): s/svn_path_join/svn_dirent_join/.

Modified:
    subversion/trunk/subversion/svn/shelf-cmd.c

Modified: subversion/trunk/subversion/svn/shelf-cmd.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/shelf-cmd.c?rev=1821858&r1=1821857&r2=1821858&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/shelf-cmd.c (original)
+++ subversion/trunk/subversion/svn/shelf-cmd.c Mon Jan 22 12:47:45 2018
@@ -299,8 +299,8 @@ run_status_on_wc_paths(const char *paths
   for (i = 0; i < paths->nelts; i++)
     {
       const char *path = APR_ARRAY_IDX(paths, i, const char *);
-      const char *abspath = svn_path_join(paths_base_abspath, path,
-                                          scratch_pool);
+      const char *abspath = svn_dirent_join(paths_base_abspath, path,
+                                            scratch_pool);
 
       SVN_ERR(svn_client_status6(NULL /*result_rev*/,
                                  ctx, abspath,
@@ -517,8 +517,8 @@ check_no_modified_paths(const char *path
   for (hi = apr_hash_first(scratch_pool, paths); hi; hi = apr_hash_next(hi))
     {
       const char *path = apr_hash_this_key(hi);
-      const char *abspath = svn_path_join(paths_base_abspath, path,
-                                          scratch_pool);
+      const char *abspath = svn_dirent_join(paths_base_abspath, path,
+                                            scratch_pool);
 
       SVN_ERR(svn_client_status6(NULL /*result_rev*/,
                                  ctx, abspath,