The patch below appears to fix this issue. $ cat debian/patches/07-rc-blank-line-fix Distinguish between the end of the file ("") and empty lines ("\n"). Closes #537706. Index: w3m-0.5.2/rc.c =================================================================== --- w3m-0.5.2.orig/rc.c 2009-07-20 20:48:47.426565387 +1000 +++ w3m-0.5.2/rc.c 2009-07-20 20:49:24.086565581 +1000 @@ -1061,9 +1061,11 @@
for (;;) { line = Strfgets(f); - Strchop(line); - if (line->length == 0) + if (line->length == 0) /* end of file */ break; + Strchop(line); + if (line->length == 0) /* blank line */ + continue; Strremovefirstspaces(line); if (line->ptr[0] == '#') /* comment */ continue; $ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org