GNU bug report logs - #30913
Releasing a build compatible with glibc-2.26+

Previous Next

Package: diffutils;

Reported by: The Fireplace <the.f1repl4ce <at> gmail.com>

Date: Fri, 23 Mar 2018 00:42:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Bruno Haible <bruno <at> clisp.org>
To: bug-gnulib <at> gnu.org
Cc: The Fireplace <the.f1repl4ce <at> gmail.com>, Paul Eggert <eggert <at> cs.ucla.edu>, 30913 <at> debbugs.gnu.org
Subject: bug#30913: [bug-diffutils] bug#30913: Releasing a build compatible withglibc-2.26+
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





This bug report was last modified 7 years and 80 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.