musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/stdio/popen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/popen.c')
-rw-r--r--src/stdio/popen.c 2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/stdio/popen.c b/src/stdio/popen.c
index b53a5572..19bbe7cf 100644
--- a/src/stdio/popen.c
+++ b/src/stdio/popen.c
@@ -31,7 +31,6 @@ FILE *popen(const char *cmd, const char *mode)
__syscall(SYS_close, p[1]);
return NULL;
}
- FLOCK(f);
e = ENOMEM;
if (!posix_spawn_file_actions_init(&fa)) {
@@ -43,7 +42,6 @@ FILE *popen(const char *cmd, const char *mode)
if (!strchr(mode, 'e'))
fcntl(p[op], F_SETFD, 0);
__syscall(SYS_close, p[1-op]);
- FUNLOCK(f);
return f;
}
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月10日 05:49:44 +0000

AltStyle によって変換されたページ (->オリジナル) /