1 diff -Nru abiword-2.0.1.orig/abi/src/af/xap/unix/xap_UnixApp.cpp abiword-2.0.1/abi/src/af/xap/unix/xap_UnixApp.cpp
2 --- abiword-2.0.1.orig/abi/src/af/xap/unix/xap_UnixApp.cpp 2003-06-07 18:28:14.000000000 +0200
3 +++ abiword-2.0.1/abi/src/af/xap/unix/xap_UnixApp.cpp 2003-11-14 09:12:37.000000000 +0100
5 static char buf[PATH_MAX];
6 memset(buf,0,sizeof(buf));
8 - char * szHome = getenv("HOME");
9 + char * szHome = getenv("HOME_ETC") ? getenv("HOME_ETC") : getenv("HOME");
10 if (!szHome || !*szHome)
13 diff -Nru abiword-2.0.1.orig/abi/src/wp/ap/unix/ap_UnixApp.cpp abiword-2.0.1/abi/src/wp/ap/unix/ap_UnixApp.cpp
14 --- abiword-2.0.1.orig/abi/src/wp/ap/unix/ap_UnixApp.cpp 2003-10-10 15:35:35.000000000 +0200
15 +++ abiword-2.0.1/abi/src/wp/ap/unix/ap_UnixApp.cpp 2003-11-14 09:14:05.000000000 +0100
17 static char buf[PATH_MAX];
18 memset(buf,0,sizeof(buf));
20 - char * szHome = getenv("HOME");
21 + char * szHome = getenv("HOME_ETC") ? getenv("HOME_ETC") : getenv("HOME");
22 if (!szHome || !*szHome)
25 --- abiword-2.0.1.orig/popt/poptconfig.c 2002-11-11 03:00:51.000000000 +0100
26 +++ abiword-2.0.1/popt/poptconfig.c 2003-11-14 09:55:31.000000000 +0100
31 - if ((home = getenv("HOME"))) {
32 + home = getenv("HOME_ETC");
33 + if (!home) home = getenv("HOME");
35 fn = alloca(strlen(home) + 20);