[Bug 9231] less should fall back to stdout fd

bugzilla at busybox.net bugzilla at busybox.net
Tue Sep 13 18:26:30 UTC 2016


https://bugs.busybox.net/show_bug.cgi?id=9231

--- Comment #2 from Mike Frysinger <vapier at gentoo.org> ---
(In reply to Denys Vlasenko from comment #1)

i guess i was looking at file descriptor flags then instead of file status
flags

ignoring that, i don't see a problem here: we've already mangled the active tty
with our settings and must restore them in order for things to continue sanely.
 so we just need to add a file status flags restore to the already existing
less_exit code path (which is where all the tty settings are restored upon
manual exit or signal termination).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list