Tim Waugh wrote:
> The signal handler termination_unwind_protect() can call
> maybe_save_shell_history() -> append_history() -> history_do_write()
> -> history_filename() -> xmalloc() -> malloc()
> 
> and malloc() is not safe to call from a signal handler.  This affects
> bash-2.05b as well as bash-3.0.

While this is true in general, the bash malloc is safe.  I will see
what can be done in the general case, however.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://tiswww.tis.case.edu/~chet/


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to