subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject svn commit: r1464433 - /subversion/trunk/subversion/libsvn_repos/repos.c
Date Thu, 04 Apr 2013 11:02:48 GMT
Author: ivan
Date: Thu Apr  4 11:02:48 2013
New Revision: 1464433

URL: http://svn.apache.org/r1464433
Log:
Follow-up to r1463902.

* subversion/libsvn_repos/repos.c
  (svn_repos_hooks_setenv): Handle absolute path for hooks environment file.

Modified:
    subversion/trunk/subversion/libsvn_repos/repos.c

Modified: subversion/trunk/subversion/libsvn_repos/repos.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/repos.c?rev=1464433&r1=1464432&r2=1464433&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/repos.c (original)
+++ subversion/trunk/subversion/libsvn_repos/repos.c Thu Apr  4 11:02:48 2013
@@ -1177,6 +1177,8 @@ svn_repos_hooks_setenv(svn_repos_t *repo
     repos->hooks_env_path = svn_dirent_join(repos->conf_path,
                                             hooks_env_path,
                                             repos->pool);
+  else
+    repos->hooks_env_path = apr_pstrdup(repos->pool, hooks_env_path);
 
   return SVN_NO_ERROR;
 }



Mime
View raw message