diff options
author | Tatsuya Kinoshita <tats@vega.ocn.ne.jp> | 2011-05-04 07:38:13 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@vega.ocn.ne.jp> | 2011-05-04 07:38:13 +0000 |
commit | ddd965984492e74c3e5fc0fb922d4362fd3aebda (patch) | |
tree | 1f554ce14b66a9b4c344d62948a473fb1d367262 /debian/patches/130_rc-blank-line-fix.patch | |
parent | Releasing debian version 0.5.2-7 (diff) | |
download | w3m-ddd965984492e74c3e5fc0fb922d4362fd3aebda.tar.gz w3m-ddd965984492e74c3e5fc0fb922d4362fd3aebda.zip |
Releasing debian version 0.5.2-8debian/0.5.2-8
Diffstat (limited to '')
-rw-r--r-- | debian/patches/130_rc-blank-line-fix.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/debian/patches/130_rc-blank-line-fix.patch b/debian/patches/130_rc-blank-line-fix.patch deleted file mode 100644 index b4c36c5..0000000 --- a/debian/patches/130_rc-blank-line-fix.patch +++ /dev/null @@ -1,23 +0,0 @@ -Description: Fix .w3m/config parser confused by blank lines -Origin: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537706#10 -Author: "Trent W. Buck" <twb@cybersource.com.au> -Bug-Debian: http://bugs.debian.org/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; |