Earlier history in non-interactive mode bugfix contained a new bug causing fish to crash if read is not used in non-interactive mode

darcs-hash:20060419234211-ac50b-886a33e96cb3f95e9b2c632f03eb3b2b20a560fd.gz
This commit is contained in:
axel 2006-04-20 09:42:11 +10:00
parent d1ff6a323a
commit 9d770af5f4
2 changed files with 5 additions and 0 deletions

View file

@ -202,6 +202,10 @@ static void history_to_hash()
{
history_data *d;
if( !history_last )
return;
d = (history_data *)hash_get( &history_table,
mode_name );

1
main.c
View file

@ -61,6 +61,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "output.h"
#include "translate.h"
#include "halloc_util.h"
#include "history.h"
/**