aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/410_textarea-segfault.patch
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2015-01-24 14:36:40 +0000
committerTatsuya Kinoshita <tats@debian.org>2015-01-24 14:37:05 +0000
commit8595cb4102d547388d0d9e699d10a14f8f7aa71c (patch)
treecd27e4b710769000b651b9af4db2704a1cd328dd /debian/patches/410_textarea-segfault.patch
parentUpdate Vcs-Browser (diff)
downloadw3m-8595cb4102d547388d0d9e699d10a14f8f7aa71c.tar.gz
w3m-8595cb4102d547388d0d9e699d10a14f8f7aa71c.zip
Integrate Debian changes into 020_debian.patch (closes: #776112)
(debian/patches/*.patch except 010_upstream.patch are merged)
Diffstat (limited to 'debian/patches/410_textarea-segfault.patch')
-rw-r--r--debian/patches/410_textarea-segfault.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/debian/patches/410_textarea-segfault.patch b/debian/patches/410_textarea-segfault.patch
deleted file mode 100644
index 5322c75..0000000
--- a/debian/patches/410_textarea-segfault.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Subject: Prevent segfault when editing a textarea field with vi
-Author: Peter Poeml <poeml@suse.de>
-Origin: https://build.opensuse.org/package/view_file/openSUSE:Factory/w3m/w3m-0.4.1-textarea-segfault.dif?expand=1
-
- add fix for segfault that can occur when editing a textarea field
- with vi, and returning to w3m (it seems to happen if the terminal
- is not writable, as when using w3m after 'su - some_user')
-
-diff --git a/terms.c b/terms.c
-index ca81d28..672262c 100644
---- a/terms.c
-+++ b/terms.c
-@@ -637,7 +637,8 @@ reset_tty(void)
- writestr(T_se); /* reset terminal */
- flush_tty();
- TerminalSet(tty, &d_ioval);
-- close_tty();
-+ if (tty != 2)
-+ close_tty();
- }
-
- static MySignalHandler