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-5.2.1~1774 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=18c4f30cce5c849456a6db69f5bbf85cb0258529;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;