SOURCES: msmtp-home_etc.patch - for msmtp 1.4.2

wolvverine wolvverine at pld-linux.org
Thu Jul 14 21:45:58 CEST 2005


Author: wolvverine                   Date: Thu Jul 14 19:45:58 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- for msmtp 1.4.2

---- Files affected:
SOURCES:
   msmtp-home_etc.patch (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/msmtp-home_etc.patch
diff -u SOURCES/msmtp-home_etc.patch:1.4 SOURCES/msmtp-home_etc.patch:1.5
--- SOURCES/msmtp-home_etc.patch:1.4	Wed Dec 29 19:15:56 2004
+++ SOURCES/msmtp-home_etc.patch	Thu Jul 14 21:45:53 2005
@@ -1,11 +1,24 @@
---- msmtp-1.2.4/src/paths.c.orig	2004-12-29 16:47:28.728920536 +0100
-+++ msmtp-1.2.4/src/paths.c	2004-12-29 16:48:06.604162624 +0100
-@@ -138,6 +138,8 @@
+diff -uNr msmtp-1.4.2.orig/src/os_env.c msmtp-1.4.2/src/os_env.c
+--- msmtp-1.4.2.orig/src/os_env.c	2005-07-14 21:41:38.000000000 +0200
++++ msmtp-1.4.2/src/os_env.c	2005-07-14 21:39:32.000000000 +0200
+@@ -260,6 +260,9 @@
+     
      char *home;
-     struct passwd *pw;
      
 +    home = getenv("HOME_ETC");
 +    if (!home)
-     if (!(home = getenv("HOME")))
++    
+     if ((home = getenv("HOME")))
+     {
+ 	home = xstrdup(home);
+@@ -275,7 +278,9 @@
+ 
+     char *home;
+     struct passwd *pw;
+-    
++
++    home = getenv("HOME_ETC");
++    if (!home)
+     if ((home = getenv("HOME")))
      {
- 	pw = getpwuid(getuid());
+ 	home = xstrdup(home);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/msmtp-home_etc.patch?r1=1.4&r2=1.5&f=u




More information about the pld-cvs-commit mailing list