remove spurious lock in popen
authorRich Felker <dalias@aerifal.cx>
Tue, 20 Apr 2021 18:52:08 +0000 (14:52 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 20 Apr 2021 18:52:08 +0000 (14:52 -0400)
commite74acd59a5c7d56ae0e64c4ffa5043da13ee896e
tree55fa1f9bc74ca530279c202998c8d1bc95063c31
parent9a40e842dfa5659c149778c5870435eb14439ed6
remove spurious lock in popen

the newly allocated FILE * has not yet leaked to the application and
is only visible to stdio internals until popen returns. since we do
not change any fields of the structure observed by libc internals,
only the pipe_pid member, locking is not necessary.
src/stdio/popen.c