skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

commit 2dc76616b2b0884f0203cf36b58f94c5656c0c81
parent f6d5fcfa0fa2a62f9583fa44dbee035c0adfcc88
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Fri, 22 Apr 2016 14:57:16 +0000

 Bugfix: exec the child when not SKALIBS_HASPOSIXSPAWN in child_spawn0 (thanks eto)

Diffstat:
Msrc/libstddjb/child_spawn0.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libstddjb/child_spawn0.c b/src/libstddjb/child_spawn0.c @@ -64,7 +64,7 @@ pid_t child_spawn0 (char const *prog, char const *const *argv, char const *const errno = e ; return 0 ; } - if (pid) + if (!pid) { fd_close(p[0]) ; sig_blocknone() ;