From: Kern Sibbald Date: Tue, 25 Feb 2020 18:30:31 +0000 (+0100) Subject: Fix missing part of patch 8135b9d21d -- readline truncate fix X-Git-Tag: Release-9.6.1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38a38465e91cbeed3d37c7a4d5a4c0adf5f9d51a;p=thirdparty%2Fbacula.git Fix missing part of patch 8135b9d21d -- readline truncate fix --- diff --git a/bacula/src/console/console.c b/bacula/src/console/console.c index 45c9a9e79..f70ee8500 100644 --- a/bacula/src/console/console.c +++ b/bacula/src/console/console.c @@ -935,6 +935,10 @@ void trapctlc() signal(SIGINT, sigintcatcher); } +#ifdef HAVE_READLINE +static int histfile_size=0; +#endif + static int console_update_history(const char *histfile) { int ret=0;