]> git.pld-linux.org Git - packages/msmtp.git/commitdiff
- support for HOME_ETC
authorwitekfl <witekfl@pld-linux.org>
Wed, 19 Nov 2003 23:09:31 +0000 (23:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    msmtp-home_etc.patch -> 1.1

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

diff --git a/msmtp-home_etc.patch b/msmtp-home_etc.patch
new file mode 100644 (file)
index 0000000..024c20f
--- /dev/null
@@ -0,0 +1,14 @@
+diff -Nru msmtp-0.6.2.orig/src/msmtp.c msmtp-0.6.2/src/msmtp.c
+--- msmtp-0.6.2.orig/src/msmtp.c       2003-11-13 18:38:17.000000000 +0100
++++ msmtp-0.6.2/src/msmtp.c    2003-11-19 14:25:31.000000000 +0100
+@@ -193,7 +193,9 @@
+     /* read the configuration file */
+     if (!conffile)
+     {
+-      if (!(p = getenv("HOME")))
++      p = getenv("HOME_ETC");
++      if (!p) p = getenv("HOME");                     
++      if (!p)
+       {
+          add_error_line("no environment variable HOME");
+          print_error_lines(stderr);
This page took 0.038534 seconds and 4 git commands to generate.