On Fri, Oct 19, 2018 at 02:03:59PM -0700, Rian Hunter wrote:
> Gentle bump on this. Would be nice if this were fixed for the next release.
>
> On 2018-10-07 10:55, Rian Hunter wrote:
> > (re-posting because I realized the last patch didn't apply cleanly)
Your patch does not apply due to whitespace issues, your MUA is probably
the culprit. I suggest you mail diffs to yourself first and and try to
apply them as reviewers would have to do.
Even after fixing it with `sed "s/^ / /"', your diff does not compile:
/usr/src/lib/libfuse/fuse.c:496:20: error: use of undeclared identifier
'SIG_SIGCHLD'
signal(SIGPIPE, SIG_SIGCHLD);
> + if (sigaction(SIGCHLD, NULL, &old_sa) == 0)
> + if (old_sa.sa_handler == SIG_IGN)
> + signal(SIGPIPE, SIG_SIGCHLD);
It's SIGCHLD or SIG_DFL, see signal(3).