Closed sunfishcode closed 3 months ago
Fix dup2_stdout et al to work in the case where the file descriptor they are passed is the same as the file descriptor they implicitly operate on, including on targets that don't have a dup2 syscall and implement it using dup3, such as aarch64.
dup2_stdout
dup2
dup3
Fixes #1067.
Fix
dup2_stdout
et al to work in the case where the file descriptor they are passed is the same as the file descriptor they implicitly operate on, including on targets that don't have adup2
syscall and implement it usingdup3
, such as aarch64.Fixes #1067.