summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2006-03-11 22:36:35 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2006-03-11 22:36:35 +0000
commitda75be7db34720e1101d73936bdb47539d165ec9 (patch)
treed486629547777f85493ed5b0260eebd97402c154 /tests
parent3fb3f428eec59be24933a660c6d7dca3fd1242d8 (diff)
downloadpaxutils-da75be7db34720e1101d73936bdb47539d165ec9.tar.gz
Properly initialize i18n.
Diffstat (limited to 'tests')
-rw-r--r--tests/genfile.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/genfile.c b/tests/genfile.c
index 0cf6282..c5b3b6b 100644
--- a/tests/genfile.c
+++ b/tests/genfile.c
@@ -1,11 +1,11 @@
/* Generate a file containing some preset patterns.
Print statistics for existing files.
- Copyright (C) 1995, 1996, 1997, 2001, 2003, 2004, 2005 Free Software
- Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997, 2001, 2003, 2004, 2005, 2006
+ Free Software Foundation, Inc.
François Pinard <pinard@iro.umontreal.ca>, 1995.
- Sergey Poznyakoff <gray@mirddin.farlep.net>, 2004, 2005.
+ Sergey Poznyakoff <gray@mirddin.farlep.net>, 2004, 2005, 2006.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -692,6 +692,9 @@ main (int argc, char **argv)
program_name = argv[0];
setlocale (LC_ALL, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
+
get_date (&touch_time, "now", NULL);
/* Decode command options. */