X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fglob.c;h=1b5de09955e0bc4ee2611c4fda74e2d1c5cbe5f0;hb=a29bbbe97388bb6f9c9b4df36b448dfe5023363c;hp=cebf38289137c56ce804792e07ee0537e656ec46;hpb=829c9392ee103e34cd81e7c9aee5cdf24d6029dc;p=pspp diff --git a/src/glob.c b/src/glob.c index cebf382891..1b5de09955 100644 --- a/src/glob.c +++ b/src/glob.c @@ -14,25 +14,16 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. */ #include #include "glob.h" #include "error.h" +#include "progname.h" #include #include - -#if TIME_WITH_SYS_TIME -#include -#include -#else -#if HAVE_SYS_TIME_H -#include -#else #include -#endif -#endif #if HAVE_LIBHISTORY #if HAVE_READLINE_HISTORY_H @@ -76,7 +67,7 @@ extern void stifle_history (); #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 @@ extern void stifle_history (); #include "version.h" #include "vfm.h" +#include "gettext.h" + /* var.h */ struct dictionary *default_dict; struct expression *process_if_expr; @@ -117,6 +110,8 @@ static void get_date (void); 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