From: Eric Bollengier Date: Thu, 11 Feb 2010 13:22:15 +0000 (+0100) Subject: Apply Philipp Storz fix on bconsole history file X-Git-Tag: Release-7.0.0~2239 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8a156b36fb42c52cd0768e466c24e9e92eaed8cf;p=bacula%2Fbacula Apply Philipp Storz fix on bconsole history file --- 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;