"Dr. Werner Fink" <wer...@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, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."