rust/src/libnative
bors a6a1c9071a auto merge of #14477 : alexcrichton/rust/issue-14456, r=brson
When spawning a process, stdio file descriptors can be configured to be ignored,
which basically means that they'll be closed. Currently this is done by
literally closing the file descriptors in the child, but this can have adverse
side effects if the child process then opens a new file descriptor, assigning it
to a stdio number.

To work around the problems of the child, this commit alters the process
spawning code to map stdio fds to /dev/null on unix (and a similar equivalent on
windows) when they are specified as being ignored. This should allow spawned
programs to have more expected behavior when opening new files.

Closes #14456
2014-05-28 22:41:38 -07:00
..
io auto merge of #14477 : alexcrichton/rust/issue-14456, r=brson 2014-05-28 22:41:38 -07:00
lib.rs Move std::{reflect,repr,Poly} to a libdebug crate 2014-05-27 21:44:51 -07:00
task.rs core: Remove the cast module 2014-05-11 01:13:02 -07:00