SOURCES (AC-branch): subversion-home_etc.patch - up

arekm arekm at pld-linux.org
Mon Sep 11 13:43:30 CEST 2006


Author: arekm                        Date: Mon Sep 11 11:43:30 2006 GMT
Module: SOURCES                       Tag: AC-branch
---- Log message:
- up

---- Files affected:
SOURCES:
   subversion-home_etc.patch (1.1 -> 1.1.2.1) 

---- Diffs:

================================================================
Index: SOURCES/subversion-home_etc.patch
diff -u SOURCES/subversion-home_etc.patch:1.1 SOURCES/subversion-home_etc.patch:1.1.2.1
--- SOURCES/subversion-home_etc.patch:1.1	Thu Jun  9 17:30:18 2005
+++ SOURCES/subversion-home_etc.patch	Mon Sep 11 13:43:24 2006
@@ -1,12 +1,11 @@
---- subversion/libsvn_subr/config_file.c~	2005-03-28 19:36:02.000000000 +0200
-+++ subversion/libsvn_subr/config_file.c	2005-06-08 10:35:41.000000000 +0200
-@@ -319,7 +319,8 @@
-     char *homedir;
-     const char *homedir_utf8;
+--- subversion/libsvn_subr/user.c~	2006-02-15 21:30:49.000000000 +0000
++++ subversion/libsvn_subr/user.c	2006-09-11 06:28:44.806268500 +0000
+@@ -69,7 +69,7 @@
+   const char *username;
+   char *homedir;
  
--    apr_err = apr_env_get (&homedir, "HOME", pool);
-+    apr_err = apr_env_get (&homedir, "HOME_ETC", pool);
-+    if ( apr_err || ! homedir ) apr_err = apr_env_get (&homedir, "HOME", pool);
-     if ( apr_err || ! homedir )
-       {
-         apr_uid_t uid;
+-  if (apr_env_get(&homedir, "HOME", pool) == APR_SUCCESS)
++  if (apr_env_get(&homedir, "HOME_ETC", pool) == APR_SUCCESS || apr_env_get(&homedir, "HOME", pool) == APR_SUCCESS)
+     return utf8_or_nothing(homedir, pool);
+ 
+   username = get_os_username(pool);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/subversion-home_etc.patch?r1=1.1&r2=1.1.2.1&f=u



More information about the pld-cvs-commit mailing list