Subject: Re: [bug-diffutils] bug#36488: bug#36488: diffutils 3.7 make check failure ppc64le opensuse on colors test

From: Gisle Vanem <[email-masked]>
Date: Sun, 29 Aug 2021 13:13:56 +0200

Paul Eggert wrote:

> +static signal_handler
> +xsignal (int sig, signal_handler func)
> +{
> +  signal_handler h = signal (sig, func);
> +  if (h == SIG_ERR)
> +    pfatal_with_name ("signal");
> +  return h;
> +}
> +

On Windows, this causes a "diff --color file1 file2"
to exit with "diff.exe signal". How useful.

With some added trace-code I found this was for
SIGHUP (=1) which is not supported. So I just dropped
SIGHUP from the list.

-- 
--gv