Hi,

I uploaded an NMU of your package.

Please see this as help to get the package into a releaseable condition for
etch.

Please find the used diff below.


Cheers,
Andi

diff -ur ../lynx-2.8.5~/debian/changelog ../lynx-2.8.5/debian/changelog
--- ../lynx-2.8.5~/debian/changelog     2006-11-27 07:42:10.000000000 +0100
+++ ../lynx-2.8.5/debian/changelog      2006-11-27 07:44:13.000000000 +0100
@@ -1,3 +1,12 @@
+lynx (2.8.5-2sarge2.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Read user configuration from home directory, not current
+    working directory. Closes: #396964
+    Thanks to Tom Parker for the patch.
+
+ -- Andreas Barth <[EMAIL PROTECTED]>  Mon, 27 Nov 2006 07:43:17 +0100
+
 lynx (2.8.5-2sarge2.1) unstable; urgency=low
 
   * NMU.
diff -ur ../lynx-2.8.5~/src/LYMain.c ../lynx-2.8.5/src/LYMain.c
--- ../lynx-2.8.5~/src/LYMain.c 2004-01-28 20:30:38.000000000 +0100
+++ ../lynx-2.8.5/src/LYMain.c  2006-11-27 07:45:51.000000000 +0100
@@ -1123,9 +1123,17 @@
     LYEscapeStartfile(&startfile);
     StrAllocCopy(indexfile, DEFAULT_INDEX_FILE);
     StrAllocCopy(global_type_map, GLOBAL_MAILCAP);
-    StrAllocCopy(personal_type_map, PERSONAL_MAILCAP);
+
+       StrAllocCopy(personal_type_map, Home_Dir());
+       StrAllocCat(personal_type_map, "/");
+    StrAllocCat(personal_type_map, PERSONAL_MAILCAP);
+
     StrAllocCopy(global_extension_map, GLOBAL_EXTENSION_MAP);
-    StrAllocCopy(personal_extension_map, PERSONAL_EXTENSION_MAP);
+    
+       StrAllocCopy(personal_extension_map, Home_Dir());
+       StrAllocCat(personal_extension_map, "/");
+    StrAllocCat(personal_extension_map, PERSONAL_EXTENSION_MAP);
+
     StrAllocCopy(language, PREFERRED_LANGUAGE);
     StrAllocCopy(pref_charset, PREFERRED_CHARSET);
     StrAllocCopy(system_mail, SYSTEM_MAIL);
diff -ur ../lynx-2.8.5~/src/LYReadCFG.c ../lynx-2.8.5/src/LYReadCFG.c
--- ../lynx-2.8.5~/src/LYReadCFG.c      2004-01-28 20:30:38.000000000 +0100
+++ ../lynx-2.8.5/src/LYReadCFG.c       2006-11-27 07:45:51.000000000 +0100
@@ -450,6 +450,16 @@
 }
 Config_Type;
 
+PRIVATE int set_personal_extension_map ARGS1(
+       char *,         value)
+{
+       StrAllocCopy(personal_extension_map, Home_Dir());
+       StrAllocCat(personal_extension_map, "/");
+    StrAllocCat(personal_extension_map, value);
+       return 0;
+}
+
+
 PRIVATE int assume_charset_fun ARGS1(
        char *,         value)
 {
@@ -1431,7 +1441,7 @@
 #ifdef USE_PERSISTENT_COOKIES
      PARSE_SET(RC_PERSISTENT_COOKIES,   persistent_cookies),
 #endif /* USE_PERSISTENT_COOKIES */
-     PARSE_STR(RC_PERSONAL_EXTENSION_MAP, personal_extension_map),
+     PARSE_FUN(RC_PERSONAL_EXTENSION_MAP, set_personal_extension_map),
      PARSE_STR(RC_PERSONAL_MAILCAP,     personal_type_map),
      PARSE_STR(RC_PREFERRED_CHARSET,    pref_charset),
      PARSE_STR(RC_PREFERRED_LANGUAGE,   language),
-- 
  http://home.arcor.de/andreas-barth/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to