diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2015-01-24 14:36:40 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2015-01-24 14:37:05 +0000 |
commit | 8595cb4102d547388d0d9e699d10a14f8f7aa71c (patch) | |
tree | cd27e4b710769000b651b9af4db2704a1cd328dd /debian/patches/410_textarea-segfault.patch | |
parent | Update Vcs-Browser (diff) | |
download | w3m-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 '')
-rw-r--r-- | debian/patches/410_textarea-segfault.patch | 22 |
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 |