You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2012/12/23 00:09:08 UTC

svn commit: r1425368 - /subversion/trunk/subversion/mod_dav_svn/mod_dav_svn.c

Author: rhuijben
Date: Sat Dec 22 23:09:07 2012
New Revision: 1425368

URL: http://svn.apache.org/viewvc?rev=1425368&view=rev
Log:
Fix assertion on running httpd on Windows which currently breaks the Windows
buildbots serf run, by using the right path apis for local paths.

* subversion/mod_dav_svn/mod_dav_svn.c
  (dav_svn_get_repos_path): Construct a dirent instead of an fspath. While the
    fspath api might work for these cases on *nix, it certainly doesn't work
    on Windows.

Modified:
    subversion/trunk/subversion/mod_dav_svn/mod_dav_svn.c

Modified: subversion/trunk/subversion/mod_dav_svn/mod_dav_svn.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/mod_dav_svn/mod_dav_svn.c?rev=1425368&r1=1425367&r2=1425368&view=diff
==============================================================================
--- subversion/trunk/subversion/mod_dav_svn/mod_dav_svn.c (original)
+++ subversion/trunk/subversion/mod_dav_svn/mod_dav_svn.c Sat Dec 22 23:09:07 2012
@@ -674,7 +674,7 @@ dav_svn_get_repos_path(request_rec *r,
 
   /* Construct the full path from the parent path base directory
      and the repository name. */
-  *repos_path = svn_urlpath__join(fs_parent_path, repos_name, r->pool);
+  *repos_path = svn_dirent_join(fs_parent_path, repos_name, r->pool);
   return NULL;
 }