bug-bash
[Top][All Lists]
Advanced

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

Re: bash-3.2: Bad signal work in readline


From: Andreas Schwab
Subject: Re: bash-3.2: Bad signal work in readline
Date: Mon, 19 Jan 2009 17:20:09 +0100
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux)

Roman Rakus <address@hidden> writes:

> diff -up bash-3.2/lib/readline/signals.c.rr bash-3.2/lib/readline/signals.c
> --- bash-3.2/lib/readline/signals.c.rr        2009-01-19 15:57:29.000000000 
> +0100
> +++ bash-3.2/lib/readline/signals.c   2009-01-19 16:00:04.000000000 +0100
> @@ -111,11 +111,19 @@ static sighandler_cxt old_winch;
>  #endif
>  
>  /* Readline signal handler functions. */
> +int catched_signal = 0;

That needs to be volatile sig_atomic_t.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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