projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a bug causing pspp to crash when computed variables had no format
[pspp]
/
src
/
glob.c
diff --git
a/src/glob.c
b/src/glob.c
index 5832a10b5f1bbd6245107ef17d96a5c6ffa1b051..cc76e340ab21d8fedc9f85a6ca251a4eef7e4fc5 100644
(file)
--- a/
src/glob.c
+++ b/
src/glob.c
@@
-62,7
+62,7
@@
extern void stifle_history ();
#if __DJGPP__
#include <conio.h>
#if __DJGPP__
#include <conio.h>
-#elif
__WIN32__ && __BORLANDC__
+#elif
defined (__WIN32__) && defined (__BORLANDC__)
#undef gettext
#include <conio.h>
#define gettext(STRING) \
#undef gettext
#include <conio.h>
#define gettext(STRING) \
@@
-130,7
+130,7
@@
static char term_buffer[16384];
#endif
void
#endif
void
-init_glob (int argc
unused
, char **argv)
+init_glob (int argc
UNUSED
, char **argv)
{
/* FIXME: Allow i18n of other locale items (besides LC_MESSAGES). */
#if ENABLE_NLS
{
/* FIXME: Allow i18n of other locale items (besides LC_MESSAGES). */
#if ENABLE_NLS
@@
-169,11
+169,6
@@
init_glob (int argc unused, char **argv)
/* var.h */
default_dict = dict_create ();
/* var.h */
default_dict = dict_create ();
- vec_init (&reinit_sysmis);
- vec_init (&reinit_blanks);
- vec_init (&init_zero);
- vec_init (&init_blanks);
-
last_vfm_invocation = time (NULL);
/* lexer.h */
last_vfm_invocation = time (NULL);
/* lexer.h */