Files
Hoshino Lina 49708181b5 libobs/util: Fix fd management in os_process_pipe_create
The sequence should be the same for every fd:

- Close the parent end of the pipe
- If the child end of the pipe is not the intended fd already,
  - Dup it over
  - And close the old fd

This fixes a double-close() in the read path (which is fairly harmless
since it happens in the child, but sticks out in strace), some fd
leakage, and the stderr-already-is-2 case.
2026-03-08 12:12:44 -04:00
..
2024-08-28 19:10:27 -04:00
2023-05-20 01:31:18 -07:00
2026-01-14 13:47:30 -05:00
2025-09-04 16:57:07 -04:00
2026-01-14 13:47:30 -05:00
2023-05-20 01:31:18 -07:00
2023-05-20 01:31:18 -07:00