diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-05-05 12:50:24 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-05-05 12:50:24 +0000 |
commit | 7d06701bfaad445e48832ba4fd189ffc36e34387 (patch) | |
tree | c3d0d5da0d9328d950a4da4cc3a4f9d84a3e7033 /src/libstddjb/child_spawn1_internal.c | |
parent | 73ebb5709dc2a5aaee1e676a3c1b0bb7cebcd392 (diff) | |
download | skalibs-7d06701bfaad445e48832ba4fd189ffc36e34387.tar.xz |
- add stat_at
- make case_diff* work as a function is more cases
- make sig_number case-insensitive
- make child signal unblocking work in child_spawn*
Diffstat (limited to 'src/libstddjb/child_spawn1_internal.c')
-rw-r--r-- | src/libstddjb/child_spawn1_internal.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstddjb/child_spawn1_internal.c b/src/libstddjb/child_spawn1_internal.c index 8347f69..f833a15 100644 --- a/src/libstddjb/child_spawn1_internal.c +++ b/src/libstddjb/child_spawn1_internal.c @@ -29,8 +29,7 @@ pid_t child_spawn1_internal (char const *prog, char const *const *argv, char con sigemptyset(&set) ; e = posix_spawnattr_setsigmask(&attr, &set) ; if (e) goto errattr ; - sigfillset(&set) ; - e = posix_spawnattr_setsigdefault(&attr, &set) ; + e = posix_spawnattr_setflags(&attr, POSIX_SPAWN_SETSIGMASK) ; if (e) goto errattr ; } e = posix_spawn_file_actions_init(&actions) ; |