The text a85041d65c8d, as FreeBSD 9.2-RELEASE shipped it.
duplicate an existing file descriptor
dup2(2) on FreeBSD now