aio: Don't use FD_CLOEXEC with JIM_ANSIC
commita3c72e6f060bc51cd59b486e8d564489856f3de3
authorSteve Bennett <steveb@workware.net.au>
Fri, 23 Nov 2018 12:13:00 +0000 (23 22:13 +1000)
committerSteve Bennett <steveb@workware.net.au>
Fri, 23 Nov 2018 12:20:56 +0000 (23 22:20 +1000)
treee39c249e827f285236b17613023a71d822262373
parente62a1bb88f5749da2e72bd78c6088f09384cb7e3
aio: Don't use FD_CLOEXEC with JIM_ANSIC

Bootstrap jimsh sets JIM_ANSIC but FD_CLOEXEC is enabled.
This causes FD_CLOEXEC to be set on fd 0 (stdin), thus closing the default fd 0
in the child process during exec.

Signed-off-by: Steve Bennett <steveb@workware.net.au>
jim-aio.c