search for: ef438ec

Displaying 1 result from an estimated 1 matches for "ef438ec".

2018 Dec 01
1
[nbdkit PATCH] sh: Don't let child inherit SIGPIPE ignored
...se (out_fd[1]); close (err_fd[1]); + /* Restore SIGPIPE back to SIG_DFL, since shell can't undo SIG_IGN */ + signal (SIGPIPE, SIG_DFL); + /* Set $tmpdir for the script. */ setenv ("tmpdir", tmpdir, 1); diff --git a/tests/test-shell.sh b/tests/test-shell.sh index ef438ec..eabd4fe 100755 --- a/tests/test-shell.sh +++ b/tests/test-shell.sh @@ -11,10 +11,22 @@ fi # nbdkit is supposed to set $tmpdir. If it doesn't, it's an error. if [ ! -d $tmpdir ]; then - echo "\$tmpdir was not set" + echo "\$tmpdir was not set" >&2 e...