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