]> git.pld-linux.org Git - packages/mpop.git/commitdiff
- HOME_ETC support
authorKarol Krenski <charles@pld-linux.org>
Wed, 28 Dec 2005 01:46:27 +0000 (01:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mpop-home_etc.patch -> 1.1

mpop-home_etc.patch [new file with mode: 0644]

diff --git a/mpop-home_etc.patch b/mpop-home_etc.patch
new file mode 100644 (file)
index 0000000..9b6d85d
--- /dev/null
@@ -0,0 +1,13 @@
+--- mpop-0.8.3/src/os_env.c.old        2005-12-27 22:28:53.000000000 +0100
++++ mpop-0.8.3/src/os_env.c    2005-12-28 02:39:55.000000000 +0100
+@@ -273,7 +273,9 @@
+     char *home;
+     struct passwd *pw;
+     
+-    if ((home = getenv("HOME")))
++    home = getenv("HOME_ETC");
++    if (home == NULL) home = getenv("HOME");
++    if (home != NULL)
+     {
+       home = xstrdup(home);
+     }
This page took 0.094927 seconds and 4 git commands to generate.