Still need to separately set FD_CLOEXEC if the new fd was >= FDBASE.
authorguenther <guenther@openbsd.org>
Mon, 11 Aug 2014 20:28:47 +0000 (20:28 +0000)
committerguenther <guenther@openbsd.org>
Mon, 11 Aug 2014 20:28:47 +0000 (20:28 +0000)
commitb703bf841e92236c25c1e5b1b6f6245aea83e309
treeb2e067c5e1ac27efd883972557af87819970d0ba
parentf2153fb19fbe4c1deb797b858b05f27d37a6fbf6
Still need to separately set FD_CLOEXEC if the new fd was >= FDBASE.
Affects scripts that directly use 9 of the first 10 fds.

noted by miod@
bin/ksh/io.c