gh-145335: Fix os functions when passing fd -1 as path #145439
+104
−34
Draft
Loading