History log of /haiku/src/tests/system/libroot/posix/posix_spawn_redir_err.c
Revision Date Author Comments
# 20694a04 02-Aug-2018 Jérôme Duval <jerome.duval@gmail.com>

posix_spawn(): dup2() returns a fd on success, -1 on error.

* duplicate the just opened file descriptor, instead of the target file descriptor.
* fixes #14308.