diff options
author | Tatsuya Kinoshita <tats@vega.ocn.ne.jp> | 2011-05-04 07:03:29 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@vega.ocn.ne.jp> | 2011-05-04 07:03:29 +0000 |
commit | 9090972ad669cb40634a2d9e683953a4e20af34d (patch) | |
tree | 24c4d8d1765857bbb0b25d3f1123e602c300f04d /debian/patches/04-w3m-0.3.2.1-frame-fix-backport | |
parent | Releasing debian version 0.1.10+0.1.11pre+kokb23-4 (diff) | |
download | w3m-debian/0.3-2.4.tar.gz w3m-debian/0.3-2.4.zip |
Releasing debian version 0.3-2.4debian/0.3-2.4
Diffstat (limited to 'debian/patches/04-w3m-0.3.2.1-frame-fix-backport')
-rw-r--r-- | debian/patches/04-w3m-0.3.2.1-frame-fix-backport | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/debian/patches/04-w3m-0.3.2.1-frame-fix-backport b/debian/patches/04-w3m-0.3.2.1-frame-fix-backport new file mode 100644 index 0000000..a6180cb --- /dev/null +++ b/debian/patches/04-w3m-0.3.2.1-frame-fix-backport @@ -0,0 +1,53 @@ +PATCH: -p1 + + +--- w3m-0.3.orig/frame.c Sat Feb 9 15:27:14 2002 ++++ w3m-0.3/frame.c Wed Nov 27 06:46:03 2002 +@@ -535,14 +535,15 @@ + frame.body->attr = F_UNLOADED; + if (frame.body->flags & FB_NO_BUFFER) + fprintf(f1, "Open %s with other method", +- frame.body->url); ++ html_quote(frame.body->url)); + else if (frame.body->url) +- fprintf(f1, "Can't open %s", frame.body->url); ++ fprintf(f1, "Can't open %s", ++ html_quote(frame.body->url)); + else + fprintf(f1, + "This frame (%s) contains no src attribute", +- frame.body->name ? frame.body-> +- name : "(no name)"); ++ frame.body->name ? ++ html_quote(frame.body->name) : "(no name)"); + break; + } + parseURL2(frame.body->url, &base, currentURL); +@@ -636,7 +637,7 @@ + /* prohibit_tags */ + Strshrinkfirst(tok, 1); + Strshrink(tok, 1); +- fprintf(f1, "<!-- %s -->", tok->ptr); ++ fprintf(f1, "<!-- %s -->", html_quote(tok->ptr)); + goto token_end; + case HTML_TABLE: + t_stack++; +@@ -649,7 +650,7 @@ + Strshrink(tok, 1); + fprintf(f1, + "<!-- table stack underflow: %s -->", +- tok->ptr); ++ html_quote(tok->ptr)); + goto token_end; + } + break; +@@ -669,7 +670,8 @@ + if (!t_stack) { + Strshrinkfirst(tok, 1); + Strshrink(tok, 1); +- fprintf(f1, "<!-- %s -->", tok->ptr); ++ fprintf(f1, "<!-- %s -->", ++ html_quote(tok->ptr)); + goto token_end; + + } |