Remove close_tty() from setup_child() because close_tty() sometimes interrupts loadGeneralFile() in loadImage() and corrupt image data can be cached in ~/.w3m.
This commit is contained in:
committed by
Tatsuya Kinoshita
parent
622bdafb59
commit
09ececc3b7
6
etc.c
6
etc.c
@@ -1365,7 +1365,13 @@ setup_child(int child, int i, int f)
|
||||
if (!child)
|
||||
SETPGRP();
|
||||
#endif /* __MINGW32_VERSION */
|
||||
/*
|
||||
* I don't know why but close_tty() sometimes interrupts loadGeneralFile() in loadImage()
|
||||
* and corrupt image data can be cached in ~/.w3m.
|
||||
*/
|
||||
#if 0
|
||||
close_tty();
|
||||
#endif
|
||||
close_all_fds_except(i, f);
|
||||
QuietMessage = TRUE;
|
||||
fmInitialized = FALSE;
|
||||
|
Reference in New Issue
Block a user