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

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

diff --git a/wget-home_etc.patch b/wget-home_etc.patch
new file mode 100644 (file)
index 0000000..1e85159
--- /dev/null
@@ -0,0 +1,13 @@
+diff -Nru wget-1.8.2.orig/src/init.c wget-1.8.2/src/init.c
+--- wget-1.8.2.orig/src/init.c Sat Mar  1 12:06:06 2003
++++ wget-1.8.2/src/init.c      Mon Nov  3 10:31:43 2003
+@@ -325,6 +325,9 @@
+ #ifndef WINDOWS
+   /* If that failed, try $HOME/.wgetrc.  */
++      home = getenv("HOME_ETC");
++      home = home ? xstrdup(home) : NULL;
++      if (!home)
+   home = home_dir ();
+   if (home)
+     {
This page took 0.122506 seconds and 4 git commands to generate.