[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bash-bug] no local bash_history created or written to if existing (
From: |
Andreas Schwab |
Subject: |
Re: [bash-bug] no local bash_history created or written to if existing (~/.bash_history |
Date: |
Tue, 08 Mar 2011 19:00:46 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2.94 (gnu/linux) |
"Dr. Werner Fink" <werner@suse.de> writes:
> On Tue, Mar 08, 2011 at 12:02:53PM -0500, Chet Ramey wrote:
>> >
>> > Does this mean that the attached patch could also not work
>> > on some systems? Or does this interfere with the readline
>> > library?
>>
>> Since longjmp is not on the list of functions that is safe to call
>> from a signal handler, yes, that's what it means. OTOH, this shows
>> promise as a solution.
>
> OK, that means only for systems with HAVE_POSIX_SIGSETJMP
> defined. At least this provides a (local) solution here
sigsetjmp is the same as setjmp. Both will lead to deadlocks.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- Re: [bash-bug] no local bash_history created or written to if existing (~/.bash_history, (continued)
- Re: [bash-bug] no local bash_history created or written to if existing (~/.bash_history, Chet Ramey, 2011/03/08
- Re: [bash-bug] no local bash_history created or written to if existing (~/.bash_history, Dr. Werner Fink, 2011/03/08
- Re: [bash-bug] no local bash_history created or written to if existing (~/.bash_history, Chet Ramey, 2011/03/08
- Re: [bash-bug] no local bash_history created or written to if existing (~/.bash_history, Roman Rakus, 2011/03/08
- Re: [bash-bug] no local bash_history created or written to if existing (~/.bash_history, Micah Cowan, 2011/03/08
- Re: [bash-bug] no local bash_history created or written to if existing (~/.bash_history, Dr. Werner Fink, 2011/03/08
- Re: [bash-bug] no local bash_history created or written to if existing (~/.bash_history,
Andreas Schwab <=
- Re: [bash-bug] no local bash_history created or written to if existing (~/.bash_history, Eric Blake, 2011/03/08
- Re: [bash-bug] no local bash_history created or written to if existing (~/.bash_history, Chet Ramey, 2011/03/08
- Message not available
- Re: [bash-bug] no local bash_history created or written to if existing (~/.bash_history, Chet Ramey, 2011/03/08
- Re: [bash-bug] no local bash_history created or written to if existing (~/.bash_history, Dr. Werner Fink, 2011/03/09