mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-18 15:51:27 +08:00
82427df2ad
Unlike dup2, If oldfd equals newfd, then dup3() fails with the EINVAL.
Fixes: 1d352f8527