]> 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>
Mon, 2 Aug 2010 14:49:28 +0000 (16:49 +0200)
bacula/src/console/console.c

index c92f9e5b8d56036e53c90dc64acc0543eb33d63e..10b9ebcae9d90ed4078a2a781a408ffecd52bbf8 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;