bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-diffutils] bug#30913: Releasing a build compatible withglibc-2.


From: Bruno Haible
Subject: Re: [bug-diffutils] bug#30913: Releasing a build compatible withglibc-2.26+
Date: Wed, 28 Mar 2018 10:40:00 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-116-generic; KDE/5.18.0; x86_64; ; )

Hi Paul,

ping? OK to commit this fix?

Bruno

> 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
> 
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]