Ondrej Vasik 8724b4
diff -urNp coreutils-7.6-orig/src/true.c coreutils-7.6/src/true.c
Ondrej Vasik 8724b4
--- coreutils-7.6-orig/src/true.c	2009-09-01 13:01:16.000000000 +0200
Ondrej Vasik 8724b4
+++ coreutils-7.6/src/true.c	2009-11-18 15:00:22.000000000 +0100
Ondrej Vasik 8724b4
@@ -54,18 +54,19 @@ Usage: %s [ignored command line argument
Ondrej Vasik 8724b4
 int
Ondrej Vasik 8724b4
 main (int argc, char **argv)
Ondrej Vasik 8724b4
 {
Ondrej Vasik 8724b4
-  initialize_main (&argc, &argv);
Ondrej Vasik 8724b4
-  set_program_name (argv[0]);
Ondrej Vasik 8724b4
-  setlocale (LC_ALL, "");
Ondrej Vasik 8724b4
-  bindtextdomain (PACKAGE, LOCALEDIR);
Ondrej Vasik 8724b4
-  textdomain (PACKAGE);
Ondrej Vasik 8724b4
-
Ondrej Vasik 8724b4
-  atexit (close_stdout);
Ondrej Vasik 8724b4
 
Ondrej Vasik 8724b4
   /* Recognize --help or --version only if it's the only command-line
Ondrej Vasik 8724b4
      argument.  */
Ondrej Vasik 8724b4
   if (argc == 2)
Ondrej Vasik 8724b4
     {
Ondrej Vasik 8724b4
+      initialize_main (&argc, &argv);
Ondrej Vasik 8724b4
+      set_program_name (argv[0]);
Ondrej Vasik 8724b4
+      setlocale (LC_ALL, "");
Ondrej Vasik 8724b4
+      bindtextdomain (PACKAGE, LOCALEDIR);
Ondrej Vasik 8724b4
+      textdomain (PACKAGE);
Ondrej Vasik 8724b4
+
Ondrej Vasik 8724b4
+      atexit (close_stdout);
Ondrej Vasik 8724b4
+
Ondrej Vasik 8724b4
       if (STREQ (argv[1], "--help"))
Ondrej Vasik 8724b4
         usage (EXIT_STATUS);
Ondrej Vasik 8724b4