Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-06-17 | (main): Call initialize_main. | Jim Meyering | |
2003-05-10 | (main): When failing due to unaccepted arguments, | Jim Meyering | |
also say `too many arguments' rather than just `Try `uname --help' for more information.'. | |||
2002-08-31 | Change `exit (0)' to `exit (EXIT_SUCCESS)', | Jim Meyering | |
`exit (1)' to `exit (EXIT_FAILURE)', and `usage (1)' to `usage (EXIT_FAILURE)'. | |||
2002-08-30 | Change `error (1, ...' to `error (EXIT_FAILURE, ...'. | Jim Meyering | |
2002-07-18 | (main): Test sysctl(...) >= 0, not == 0, since | Jim Meyering | |
on NetBSD the return value may well be positive. Use one-line aggregate initializations. Use tightly scoped static buffers to avoid warnings about unused variables on some systems. | |||
2002-07-18 | (UNAME_HARDWARE_PLATFORM, UNAME_PROCESSOR): New macros. | Jim Meyering | |
(main): Use them, along with sysctl, to support uname -i and uname -p on BSD hosts. | |||
2002-07-15 | Remove unnecessary uses of `defined' when | Jim Meyering | |
operating on `HAVE_...' symbols. Remove unnecessary parentheses. | |||
2002-07-02 | (usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it. | Jim Meyering | |
2001-12-15 | Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION | Jim Meyering | |
instead of hard-coding --help and --version descriptions. Split --help output into smaller pieces. Use fputs, not printf. | |||
2001-09-07 | Correct copyright notice as per latest coding standards. | Jim Meyering | |
Remove list of options in comment, which wasn't worth maintaining separately from usage(). (print_element): Move definition up, avoiding the need for declaration and allowing inlining on some platforms. Keep track of whether something has been printed; this is more natural than modifying `toprint'. (PRINT_KERNEL_NAME): Renamed from PRINT_SYSNAME. (PRINT_KERNEL_RELEASE): Renamed from PRINT_RELEASE. (PRINT_KERNEL_VERSION): Renamed from PRINT_VERSION. (PRINT_HARDWARE_PLATFORM, PRINT_OPERATING_SYSTEM): New macros. (toprint): Remove global var; now local in `main'. (long_options, usage, main): Implement changes described in NEWS. Reorder options to reflect output order. (main): Use buffers one byte longer, for compatibility with Solaris 8. Output newline at end. -a sets `toprint' to -1 now; this is simpler. Do not bother invoking system calls like uname if the resulting information does not need to be printed. Do not fail if sysinfo fails; just print "unknown". | |||
2000-05-07 | Include "closeout.h". | Jim Meyering | |
(main): Call atexit with close_stdout. | |||
1999-03-31 | No longer include long-options.h. | Jim Meyering | |
[long_options]: Add entries for --help and --version. Remove parse_long_options call. (main) [getopt switch]: Add a case for each of --help and --version. | |||
1999-03-31 | (PROGRAM_NAME, AUTHORS): Define and use. | Jim Meyering | |
1999-03-06 | Include long-options.h. | Jim Meyering | |
[long_options]: Remove the "help" and "version" entries. Remove declarations of show_help and show_version. (main): Use parse_long_options, including author name(s). Remove the show_version and show_help blocks. | |||
1999-01-25 | (usage): Remove static attribute. | Jim Meyering | |
Move function be the first in the file. | |||
1998-09-19 | update bug-reporting address | Jim Meyering | |
1997-12-21 | s/__P/PARAMS/ | Jim Meyering | |
1997-10-07 | update bug-reporting address | Jim Meyering | |
1997-05-01 | indent cpp-directives | Jim Meyering | |
1997-02-09 | update copyrights for 1997 | Jim Meyering | |
1997-02-01 | bracket bug address with <> and append a period | Jim Meyering | |
1997-02-01 | Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵ | Jim Meyering | |
*) 0' as last parameter in getopt_long call. | |||
1996-11-30 | (main) [HAVE_SYSINFO && SI_ARCHITECTURE]: Support -p (print processor type). | Jim Meyering | |
(usage): Document it. | |||
1996-11-03 | change bug-reporting address | Jim Meyering | |
1996-11-02 | change bug-reporting address | Jim Meyering | |
1996-10-05 | (main): update --version output to conform to coding standard | Jim Meyering | |
1996-09-02 | (usage): Tell where to report bugs. | Jim Meyering | |
1996-04-24 | update Copyright years for 1996 | Jim Meyering | |
1996-03-24 | Update FSF's address. | Jim Meyering | |
1996-03-21 | (main): Declare to be of type int, not void. | Jim Meyering | |
1996-03-16 | Don't include version.h. | Jim Meyering | |
(main): Use PACKAGE_VERSION instead of version_string. | |||
1996-03-12 | (main): Initialize for internationalized message support: | Jim Meyering | |
call setlocale, bindtextdomain, and textdomain. | |||
1996-01-07 | (print_element): Change type of argument from char | Jim Meyering | |
to int to avoid potential promotion problem. | |||
1996-01-06 | Protoize and __P-protect forward dcls. | Jim Meyering | |
1995-11-27 | s/non-zero/nonzero/g | Jim Meyering | |
1995-08-08 | Annotate localizable strings with _(...). From Franc,ois. | Jim Meyering | |
1995-05-15 | (usage): Add one- and two-line descriptions to --help output. | Jim Meyering | |
From Karl. | |||
1995-03-09 | add 1995 to Copyright dates | Jim Meyering | |
1994-12-20 | * src/*.c: Include "error.h" instead of simply declaring | Jim Meyering | |
`void error ();'. | |||
1994-10-01 | . | Jim Meyering | |
1994-09-27 | merge with 1.10n2 | Jim Meyering | |
1994-04-20 | . | Jim Meyering | |
1994-02-01 | . | Jim Meyering | |
1993-10-26 | merge with 1.8.1i | Jim Meyering | |
1993-10-24 | merge with 1.8.1h | Jim Meyering | |
1993-10-17 | merge with 1.8.1g | Jim Meyering | |
1993-10-12 | merge with 1.8.1d | Jim Meyering | |
1993-10-12 | merge with 1.8.1b | Jim Meyering | |
1993-09-08 | merge with 1.8.1 + partial --version and --help | Jim Meyering | |
1992-12-02 | Convert static declarations of struct option to use new macros from | Jim Meyering | |
getopt.h: no_argument, required_argument, and optional_argument. |