HomeFreeBSD

libc: popen: slightly simplify cloexec logic

Description

libc: popen: slightly simplify cloexec logic

No need to check the mode again here; we know that iop wraps the
correct fd.

Reviewed by: bapt

(cherry picked from commit f123c6c425d4161b06f237996662496abbd78b94)

Details

Provenance
kevansAuthored on Feb 13 2023, 6:33 AM
Parents
rG9eb694146a19: md5: fix *sum -c with missing files
Branches
Unknown
Tags
Unknown