From 8a156b36fb42c52cd0768e466c24e9e92eaed8cf Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 11 Feb 2010 14:22:15 +0100 Subject: [PATCH] Apply Philipp Storz fix on bconsole history file --- bacula/src/console/console.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bacula/src/console/console.c b/bacula/src/console/console.c index c92f9e5b8d..10b9ebcae9 100644 --- a/bacula/src/console/console.c +++ b/bacula/src/console/console.c @@ -873,6 +873,7 @@ static int console_init_history(const char *histfile) rl_completion_entry_function = dummy_completion_function; rl_attempted_completion_function = readline_completion; rl_filename_completion_desired = 0; + stifle_history(100); #endif return ret; -- 2.39.5