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
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/process/posix_spawn.c 1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/process/posix_spawn.c b/src/process/posix_spawn.c
index 68cf795c..c6886526 100644
--- a/src/process/posix_spawn.c
+++ b/src/process/posix_spawn.c
@@ -105,6 +105,7 @@ static int child(void *args_vp)
? &attr->__mask : &args->oldmask, 0);
args->exec(args->path, args->argv, args->envp);
+ ret = -errno;
fail:
/* Since sizeof errno < PIPE_BUF, the write is atomic. */
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月27日 11:25:01 +0000

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