]> git.sur5r.net Git - bacula/bacula/commitdiff
Apply Philipp Storz fix on bconsole history file
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 11 Feb 2010 13:22:15 +0000 (14:22 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 11 Feb 2010 13:40:49 +0000 (14:40 +0100)
bacula/src/console/console.c

index 304bc04053ce7116d189c761e99b5238b183d0d6..f72961d2dac760f0d37e5365deb08b4e52c3d34e 100644 (file)
@@ -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;