Browse Source

initialize variable history_file

pre-master-46
h_vogt 17 years ago
parent
commit
3feb4377a6
  1. 2
      ChangeLog
  2. 2
      src/main.c

2
ChangeLog

@ -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

2
src/main.c

@ -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…
Cancel
Save