]> git.pld-linux.org Git - packages/wget.git/blame - wget-home_etc.patch
- support for HOME_ETC
[packages/wget.git] / wget-home_etc.patch
CommitLineData
8c0087a8 1diff -Nru wget-1.8.2.orig/src/init.c wget-1.8.2/src/init.c
2--- wget-1.8.2.orig/src/init.c Sat Mar 1 12:06:06 2003
3+++ wget-1.8.2/src/init.c Mon Nov 3 10:31:43 2003
4@@ -325,6 +325,9 @@
5
6 #ifndef WINDOWS
7 /* If that failed, try $HOME/.wgetrc. */
8+ home = getenv("HOME_ETC");
9+ home = home ? xstrdup(home) : NULL;
10+ if (!home)
11 home = home_dir ();
12 if (home)
13 {
This page took 0.143964 seconds and 4 git commands to generate.