[Bug 9231] less should fall back to stdout fd
bugzilla at busybox.net
bugzilla at busybox.net
Tue Sep 13 15:21:37 UTC 2016
https://bugs.busybox.net/show_bug.cgi?id=9231
--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com> ---
(In reply to Mike Frysinger from comment #0)
> except this doesn't make sense -- the fd passed to it is a dup from a parent, so any changes busybox makes to the file status flags via fcntl of its copy doesn't impact other processes. when it exits, its fd simply goes away.
O_NONBLOCK _is_ shared across processes. There is only one flag which isn't -
O_CLOEXEC.
In fcntl language, F_SETFL flags are shared, F_SETFD ones (of which there is
only one flag) are not.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list