pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] Changes to pspp/src/glob.c


From: Ben Pfaff
Subject: [Pspp-cvs] Changes to pspp/src/glob.c
Date: Sun, 31 Jul 2005 17:43:05 -0400

Index: pspp/src/glob.c
diff -u pspp/src/glob.c:1.28 pspp/src/glob.c:1.29
--- pspp/src/glob.c:1.28        Fri Apr 29 01:02:15 2005
+++ pspp/src/glob.c     Sun Jul 31 21:42:46 2005
@@ -20,19 +20,10 @@
 #include <config.h>
 #include "glob.h"
 #include "error.h"
+#include "progname.h"
 #include <stdlib.h>
 #include <stdio.h>
-
-#if TIME_WITH_SYS_TIME
-#include <sys/time.h>
-#include <time.h>
-#else
-#if HAVE_SYS_TIME_H
-#include <sys/time.h>
-#else
 #include <time.h>
-#endif
-#endif
 
 #if HAVE_LIBHISTORY
 #if HAVE_READLINE_HISTORY_H
@@ -76,7 +67,7 @@
 #include "error.h"
 #include "file-handle.h"
 #include "filename.h"
-#include "getline.h"
+#include "getl.h"
 #include "hash.h"
 #include "lexer.h"
 #include "magic.h"
@@ -87,6 +78,8 @@
 #include "version.h"
 #include "vfm.h"
 
+#include "gettext.h"
+
 /* var.h */
 struct dictionary *default_dict;
 struct expression *process_if_expr;
@@ -117,6 +110,8 @@
 void
 init_glob (int argc UNUSED, char **argv)
 {
+  set_program_name (argv[0]);
+
   /* FIXME: Allow i18n of other locale items (besides LC_MESSAGES). */
 #if ENABLE_NLS
 #if HAVE_LC_MESSAGES




reply via email to

[Prev in Thread] Current Thread [Next in Thread]