initialize variable history_file
This commit is contained in:
parent
5e438cb6ed
commit
3feb4377a6
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue