Module Name: src Committed By: kre Date: Tue Nov 12 03:06:58 UTC 2024
Modified Files:
src/lib/librumphijack: hijack.c
Log Message:
dup2() must (except when there's an error) return the new fd. Not 0
unless that happens to be the new fd.
Fixes tests/lib/librumphijack/t_sh/redirect
To generate a diff of this commit:
cvs rdiff -u -r1.140 -r1.141 src/lib/librumphijack/hijack.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
