bash-3.0-34 doesn't create entries in .bash_history here.
The .bash_history file is written when bash exits. How are you exiting bash?
Note that the signal handler itself had previously been writing the bash_history
file, using all sorts of C library functions that must not be called during a
signal handler, and so that particular instance of writing bash_history files
has been disabled.
using the gnome terminal,
.bash_history is not updated after closing it via the "close window" widget or
when typing "exit" it closes and writes the .bash_profile OK here.
This is just a consequence of fixing the signal handler issue. :-/
Hmm, need to fix this *somehow*.
Let's see how bash-3.0-38 behaves.
Hmm, 'while :; do :; done' doesn't get interrupted by SIGHUP now. Fixed in 3.0-39.
Also 'read line' didn't get interrupted by SIGHUP. Fixed in 3.0-40.
Also bug #175786 is caused by this change.
This issue is on Red Hat Engineering's list of planned work items
for the upcoming Red Hat Enterprise Linux 3.8 release. Engineering
resources have been assigned and barring unforeseen circumstances, Red
Hat intends to include this item in the 3.8 release.