]>
Commit | Line | Data |
---|---|---|
5cefca8a KK |
1 | --- mpop-1.0.1/src/tools.c.orig 2006-07-04 08:38:27.000000000 +0200 |
2 | +++ mpop-1.0.1/src/tools.c 2006-08-04 23:14:09.535791750 +0200 | |
3 | @@ -269,7 +269,9 @@ | |
47d04374 KK |
4 | char *home; |
5 | struct passwd *pw; | |
6 | ||
7 | - if ((home = getenv("HOME"))) | |
8 | + home = getenv("HOME_ETC"); | |
9 | + if (home == NULL) home = getenv("HOME"); | |
10 | + if (home != NULL) | |
11 | { | |
12 | home = xstrdup(home); | |
13 | } |