[w3m-dev-en 00841] Re: w3m segfaults if the terminal is not writable
* terms.c (reset_tty): don't close stderr From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2002-12-05 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
||||
|
||||
* [w3m-dev-en 00841] Re: w3m segfaults if the terminal is not writable
|
||||
* terms.c (reset_tty): don't close stderr
|
||||
|
||||
2002-12-04 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
||||
|
||||
* [w3m-dev 03516] Re: 2 stroke keybinding
|
||||
@@ -5394,4 +5399,4 @@ a * [w3m-dev 03276] compile error on EWS4800
|
||||
* release-0-2-1
|
||||
* import w3m-0.2.1
|
||||
|
||||
$Id: ChangeLog,v 1.582 2002/12/03 16:07:37 ukai Exp $
|
||||
$Id: ChangeLog,v 1.583 2002/12/04 16:38:53 ukai Exp $
|
||||
|
3
terms.c
3
terms.c
@@ -1,4 +1,4 @@
|
||||
/* $Id: terms.c,v 1.39 2002/11/19 17:18:54 ukai Exp $ */
|
||||
/* $Id: terms.c,v 1.40 2002/12/04 16:38:54 ukai Exp $ */
|
||||
/*
|
||||
* An original curses library for EUC-kanji by Akinori ITO, December 1989
|
||||
* revised by Akinori ITO, January 1995
|
||||
@@ -584,6 +584,7 @@ reset_tty(void)
|
||||
writestr(T_se); /* reset terminal */
|
||||
fflush(ttyf);
|
||||
TerminalSet(tty, &d_ioval);
|
||||
if (tty != 2)
|
||||
close(tty);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user