Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-12-03 | (print_uptime): Move decl of local `upsecs' into scope where it's used. | Jim Meyering | |
2005-08-23 | (print_uptime): Remove unnecessary parens in `#if defined (SYMBOL)' expressions. | Jim Meyering | |
2005-05-14 | Update FSF postal mail address. | Jim Meyering | |
2005-05-14 | Update FSF postal mail address. | Jim Meyering | |
2005-03-30 | (uptime): New arg OPTIONS. All uses changed. | Paul Eggert | |
(main): Check PIDs when invoked with zero arguments. | |||
2005-03-28 | (print_uptime): Use NULL, not `0'. | Jim Meyering | |
2004-11-30 | (print_uptime): Use IS_USER_PROCESS and | Paul Eggert | |
UT_TYPE_BOOT_TIME instead of by-hand code. | |||
2004-11-17 | (main): Use getopt_long rather than getopt. | Paul Eggert | |
2004-10-18 | (main): Remove declaration of unused local, optc. | Jim Meyering | |
2004-09-21 | Remove now-unused long-options static var. | Paul Eggert | |
(main): Use getopt where it suffices, not getopt_long. | |||
2004-08-02 | (print_uptime, uptime): Use size_t for sizes. | Paul Eggert | |
(print_uptime): Remove unused local variable. (main): No need to pass a non-NULL last arg to getopt_long. | |||
2004-07-24 | (print_uptime) [defined BOOT_MSG]: | Paul Eggert | |
Don't assume ut_line is null-terminated. | |||
2004-07-12 | Include c-strtod.h. | Paul Eggert | |
(print_uptime): Use c_strtod instead of setlocale and sscanf. Use long int rather than int to count days (for 64-bit hosts), and check for arithmetic overflow when converting double to time_t. | |||
2004-06-21 | (main): Standardize on the diagnostics given when someone gives | Jim Meyering | |
too few operands ("missing operand after `xxx'") or too many operands ("extra operand `xxx'"). Include "quote.h" and/or "error.h" if it wasn't already being included. | |||
2004-02-05 | Don't dump core if localtime returns NULL (possible on | Jim Meyering | |
hosts with 64-bit time_t and 32-bit int). Print "??" if the current clock can't be converted by localtime. This won't happen until the year 2*31 + 1900, but we don't want to dump core even if the current clock has the wrong value. | |||
2004-01-21 | (usage): Use EXIT_SUCCESS, not 0, for clarity. | Jim Meyering | |
2003-11-05 | Cast NULL to `(char *)' in call to variadic function, | Jim Meyering | |
parse_long_options, so that it works even on systems for which sizeof char* != sizeof int. | |||
2003-10-18 | Most .c files (AUTHORS): Revert the WRITTEN_BY/AUTHORS change | Jim Meyering | |
of 2003-09-19. Now, AUTHORS is a comma-separated list of strings. Update the call to parse_long_options so that `AUTHORS, NULL' are the last parameters. * src/true.c (main): Append NULL to version_etc argument list. * src/sys2.h (case_GETOPT_VERSION_CHAR): Likewise. | |||
2003-09-18 | (WRITTEN_BY): Rename from AUTHORS. | Jim Meyering | |
Begin each WRITTEN_BY string with `Written by ' and end it with `.'. Mark each WRITTEN_BY string as translatable. | |||
2003-09-18 | revert previous change | Jim Meyering | |
2003-09-18 | Update AUTHORS definition to be a comma-separated list of strings and/or update | Jim Meyering | |
the call to parse_long_options so that `AUTHORS, NULL' are the last parameters. | |||
2003-07-23 | Don't include headers already included by system.h: | Jim Meyering | |
Don't include closeout.h. | |||
2003-06-17 | (main): Call initialize_main. | Jim Meyering | |
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-17 | (print_uptime): Restore use of (equivalent, but | Jim Meyering | |
more readable) `>=' from Bruno's patch. | |||
2002-07-15 | Include sys/sysctl.h. | Jim Meyering | |
(print_uptime): Add support for determining the boot time on FreeBSD. | |||
2002-07-15 | (print_uptime): Use STREQ in place of !strcmp. | Jim Meyering | |
2002-07-02 | (usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it. | Jim Meyering | |
2002-05-03 | (print_uptime): Fix last change so that we use ngettext properly. | Jim Meyering | |
2002-05-03 | (print_uptime): Use ngettext for day/days and user/users. | Jim Meyering | |
Suggestion from Karl Eichwalder. | |||
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-08-14 | (AUTHORS): Mark string for translation, since it contains the English word ↵ | Jim Meyering | |
`and'. | |||
2000-11-17 | Explicitly include sys/types.h before including system.h. | Jim Meyering | |
2000-05-07 | Include "closeout.h". | Jim Meyering | |
(main): Call atexit with close_stdout. | |||
2000-03-18 | (print_uptime): Use `buf' only if fgets succeeds. | Jim Meyering | |
2000-02-05 | Use UT_USER in place of hard-coded `->ut_name' here, too. | Jim Meyering | |
1999-05-10 | (AUTHORS): Reflect reality: add Kaveh. | Jim Meyering | |
1999-03-31 | (PROGRAM_NAME, AUTHORS): Define and use. | Jim Meyering | |
1999-03-11 | Declare getloadavg so I can build with -Werror. | 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-02-08 | Include stdio.h. | Jim Meyering | |
1999-01-31 | (print_uptime): Use the C numeric locale for sscanf | Jim Meyering | |
of /proc/uptime data, then restore. | |||
1999-01-25 | (usage): Remove static attribute. | Jim Meyering | |
1998-09-19 | update bug-reporting address | Jim Meyering | |
1998-08-11 | *** empty log message *** | Jim Meyering | |
1998-08-11 | (usage): Correct description. Reported by John Murphy. | Jim Meyering | |
1998-06-29 | Include system.h only after error.h and readutmp.h | Jim Meyering | |
so we don't get redefinition warnings about getc, etc. Revert back to using lower case _unlocked wrapper names. | |||
1998-06-29 | Change all uses of unlocked-wrapped functions to their upper case wrapper names. | Jim Meyering | |
1997-10-07 | update bug-reporting address | Jim Meyering | |