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