]> git.pld-linux.org Git - packages/irssi.git/blobdiff - irssi-home_etc.patch
- up
[packages/irssi.git] / irssi-home_etc.patch
index e31a8f0365f70c43b655d845565b78c52db2da65..990e6a41d5333e25b3a98bb688e562f10c998304 100644 (file)
        g_free(awaylog_file);
        settings_add_level("log", "awaylog_level", "msgs hilight");
 
---- irssi-0.8.6.orig/src/lib-popt/poptconfig.c 2002-01-27 21:45:58.000000000 +0100
-+++ irssi-0.8.6/src/lib-popt/poptconfig.c      2003-11-09 12:36:55.000000000 +0100
-@@ -130,7 +130,9 @@
-     if (getuid() != geteuid()) return 0;
- #endif
--    if ((home = getenv("HOME"))) {
-+    home = getenv("HOME_ETC");
-+              if (!home) home = getenv("HOME");
-+    if (home) {
-       fn = malloc(strlen(home) + 20);
-       strcpy(fn, home);
-       strcat(fn, "/.popt"); 
+
This page took 0.038689 seconds and 4 git commands to generate.