Subject: bug#30913: [bug-diffutils] bug#30913: Releasing a build compatible withglibc-2.26+

From: Bruno Haible <[email-masked]>
Date: Sat, 24 Mar 2018 02:45:38 +0100

Hi Paul,

> Thanks. I installed the attached patch into Gnulib and committed this 
> into diffutils.

I think an additional fix of this is in order:

diff --git a/lib/c-stack.c b/lib/c-stack.c
index c309666..9bbe6fe 100644
--- a/lib/c-stack.c
+++ b/lib/c-stack.c
@@ -101,7 +101,7 @@ static char const * volatile stack_overflow_message;
 
 #if ((HAVE_LIBSIGSEGV && ! HAVE_XSI_STACK_OVERFLOW_HEURISTIC) \
      || (HAVE_SIGALTSTACK && HAVE_DECL_SIGALTSTACK            \
-         && HAVE_STACK_OVERFLOW_HANDLING && SIGINFO_WORKS))
+         && HAVE_STACK_OVERFLOW_HANDLING))
 
 /* Output an error message, then exit with status EXIT_FAILURE if it
    appears to have been a stack overflow, or with a core dump

Rationale: There's an additional reference to 'die' in line 314,
with condition
  HAVE_SIGALTSTACK && HAVE_DECL_SIGALTSTACK && HAVE_STACK_OVERFLOW_HANDLING && !SIGINFO_WORKS

Bruno