initialize variable history_file

This commit is contained in:
h_vogt 2009-10-11 16:54:52 +00:00
parent 5e438cb6ed
commit 3feb4377a6
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
2009-10-04 Holger Vogt
2009-10-12 Holger Vogt
* main.c: bug no. 2874418, initialize global variable history_file
2009-10-10 Robert Larice

View File

@ -78,7 +78,7 @@ extern int rl_catch_signals; /* missing from editline/readline.h */
#if defined(HAVE_GNUREADLINE) || defined(HAVE_BSDEDITLINE)
char history_file[512];
char history_file[512] = {'\0'};
static char *application_name;
#endif /* HAVE_GNUREADLINE || HAVE_BSDEDITLINE */