diff options
author | Araki Ken <arakiken@users.sf.net> | 2014-09-22 17:07:56 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2014-12-06 11:47:05 +0000 |
commit | 09ececc3b7fc52149e30c62f493b295f99e49246 (patch) | |
tree | ab3a396bc8c4220d65035b5153aa3d21e47cd1ef | |
parent | Minor fix. (diff) | |
download | w3m-09ececc3b7fc52149e30c62f493b295f99e49246.tar.gz w3m-09ececc3b7fc52149e30c62f493b295f99e49246.zip |
Remove close_tty() from setup_child() because close_tty() sometimes interrupts loadGeneralFile() in loadImage() and corrupt image data can be cached in ~/.w3m.
Diffstat (limited to '')
-rw-r--r-- | etc.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; |