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