On Fri, 26 May 2000, Andrey A. Chernov wrote:
> As Mutt docs says:
>
> Note: Some older versions of lynx contain a bug where they will
> check the mailcap file for a viewer for text/html. They will find the line
> which calls lynx, and run it. This causes lynx to continuously spawn itself to
> view the object.
>
> Now the old bug returned in 2.8.4dev.2
>
> --
> Andrey A. Chernov
> <[EMAIL PROTECTED]>
> http://nagual.pp.ru/~ache/
>
Here is a patch to fix this (note it's absent in dev1 and 2.8.3dev*).
Best regards,
-Vlad
diff -ru old/src/HTInit.c fixed/src/HTInit.c
--- old/src/HTInit.c Fri May 26 19:40:33 2000
+++ fixed/src/HTInit.c Sun May 28 14:37:12 2000
@@ -324,8 +324,8 @@
return(0);
}
*s++ = '\0';
- if (!strncasecomp(t, "text/html", 9) ||
- !strncasecomp(t, "text/plain", 10)) {
+ if (!strncasecomp(rawentry, "text/html", 9) ||
+ !strncasecomp(rawentry, "text/plain", 10)) {
--s;
*s = ';';
CTRACE((tfp, "ProcessMailcapEntry: Ignoring mailcap entry: %s\n",
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]