[prev in list] [next in list] [prev in thread] [next in thread]
List: bash-bug
Subject: Re: bash-3.2: Bad signal work in readline
From: Andreas Schwab <schwab () suse ! de>
Date: 2009-01-19 16:20:09
Message-ID: jepriji7ye.fsf () sykes ! suse ! de
[Download RAW message or body]
Roman Rakus <rrakus@redhat.com> 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, schwab@suse.de
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."
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic