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.0.1~101 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b7bb3d24f7f7c5b25225b8e68ed67328cf3af373;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 304bc04053..f72961d2da 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;