bug-bash
[Top][All Lists]
Advanced

[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" <address@hidden> 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, address@hidden
GPG 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]