Hi Paul,
Paul Eggert wrote:
No, as it doesn't support "true --version" or "true --help".
True.
So can you guys please consider this cleanup then?
Cheers,
Felipe
--- coreutils-5.1.3/src/true.c.orig 2004-11-20 20:07:13.781095240 -0200
+++ coreutils-5.1.3/src/true.c 2004-11-20 20:07:48.766776608 -0200
@@ -47,13 +47,7 @@
int
main (int argc, char **argv)
{
- initialize_main (&argc, &argv);
program_name = argv[0];
- setlocale (LC_ALL, "");
- bindtextdomain (PACKAGE, LOCALEDIR);
- textdomain (PACKAGE);
-
- atexit (close_stdout);
/* Recognize --help or --version only if it's the only command-line
argument and if POSIXLY_CORRECT is not set. */
@@ -67,5 +61,5 @@
(char *) NULL);
}
- exit (EXIT_SUCCESS);
+ return EXIT_SUCCESS;
}
_______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-coreutils
