Ensured that copying a descriptor copies the close-on-exec flag state.
Ensured that copying a descriptor copies the close-on-exec flag state.

dryproject/libposix,dryproject/libposix,sehe/libposix,sehe/libposix,dryproject/libposix,sehe/libposix