Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-11-06 | (who): Free `utmp_buf' so there is no confusion about | Jim Meyering | |
whether it's leaked or not. | |||
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-08-31 | Change meaning of -l from --lookup to --login, per POSIX. | Jim Meyering | |
who's -l option has been eliciting an unconditional warning about this impending change since sh-utils-2.0.12 (April 2002). | |||
2003-08-17 | Avoid unnecessary and sometimes time-consuming hostname lookups. | Jim Meyering | |
(print_user): Likewise. This fixes a typo I introduced in who-users.c on 1996-02-23. | |||
2003-07-23 | Don't include headers already included by system.h: | Jim Meyering | |
Don't include closeout.h. | |||
2003-07-04 | (print_line): Rewrite to use asprintf, in order to be | Jim Meyering | |
able to avoid emitting trailing blanks. | |||
2003-06-28 | tweak comment to fit in 80 columns | Jim Meyering | |
2003-06-17 | (main): Call initialize_main. | Jim Meyering | |
2003-05-10 | (main): Handle argc < optind. | Jim Meyering | |
2003-02-06 | (print_boottime, print_deadprocs, print_runlevel): | Jim Meyering | |
Fix memory allocation arithmetic. | |||
2002-09-14 | (print_user): Change type of local to size_t | Jim Meyering | |
to avoid warnings about `comparison between signed and unsigned'. | |||
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-27 | (UT_EXIT_E_TERMINATION, UT_EXIT_E_EXIT): Remove definitions. | Jim Meyering | |
Now they're defined in readutmp.h. (print_deadprocs): Remove obsolete FIXME comment. | |||
2002-07-02 | (usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it. | Jim Meyering | |
2002-05-03 | (usage): Tweak description of --users. | Jim Meyering | |
From Karl Eichwalder. | |||
2002-04-28 | add comment for prev change | Jim Meyering | |
2002-04-28 | (make_id_equals_comment): Cast sizeof expression (used as field | Jim Meyering | |
width argument) to `int'. | |||
2002-04-28 | (PIDSTR_DECL_AND_INIT): Cast ut_pid value to int. | Jim Meyering | |
2002-04-28 | Don't include xalloc.h. | Jim Meyering | |
It's already included via system.h. | |||
2002-04-16 | (UT_TYPE_UNDEF, UT_TYPE, IS_USER_PROCESS): Define. | Jim Meyering | |
(print_line): Use "%-8.8s" for the format: the user name is not always NUL terminated. (scan_entries) [need_users]: Use IS_USER_PROCESS, so that this works even on systems without ut_type. | |||
2002-04-16 | (BOOT_TIME): Define. | Jim Meyering | |
(NEW_TIME): Define to 0, not INT_MAX. (UT_PID, UT_ID, UT_EXIT_E_TERMINATION, UT_EXIT_E_EXIT): Define. Replace literal uses of ut_pid, ut_id, and ut_exit members with uses through macros. (make_id_equals_comment): New function, factored out of three others. | |||
2002-04-15 | add FIXME comments | Jim Meyering | |
2002-04-15 | Include xalloc.h. | Jim Meyering | |
Use xmalloc everywhere, not malloc. | |||
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'. | |||
2001-06-09 | Add options to make `who' more POSIX compliant. | Jim Meyering | |
Accept new options: --all (-a), --boot (-b), --dead (-d), --login, --process (-p), --runlevel (-r), --short (-s), --time (-t), --users (-u). The -u option now produces POSIX-specified results and is the same as the long option `--users'. --idle is no longer the same as -u. (time_string, print_line, print_boottime, print_deadprocs, print_login, print_initspawn, print_clockchange, print_runlevel): New functions. (print_user): Renamed from print_entry and reworked. (search_entries): Remove function. (who_am_i): Likewise. (usage): Describe new options. (main): Handle new options. Mostly from Michael Stone. | |||
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-01-31 | Use UT_USER in place of hard-coded `->ut_name' here, too. | Jim Meyering | |
1999-12-18 | (print_entry): Correct do_lookup test so that who | Jim Meyering | |
prints whatever host information it has, even without --lookup. | |||
1999-04-24 | (print_entry): Use `#if', not `#ifdef HAVE_UT_HOST'. | Jim Meyering | |
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-02-08 | copyright date | Jim Meyering | |
1999-02-08 | Include stdio.h. | Jim Meyering | |
1999-01-25 | (usage): Remove static attribute. | Jim Meyering | |
1998-09-19 | update bug-reporting address | 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-25 | Remove old-style xmalloc and xrealloc decls. | Jim Meyering | |
1997-10-07 | update bug-reporting address | Jim Meyering | |
1997-09-01 | (main): New option --lookup (-l). | Jim Meyering | |
(print_entry): Only call canon_host if user explicitly asks for it. (usage): Describe --lookup. From Galen Hazelwood. | |||
1997-07-13 | Rename lots of `this' locals. | Jim Meyering | |
Make some parameters `const'. (who): Update read_utmp caller. (search_entries): Take additional param: utmp_buf. Update read_utmp caller. (who_am_i): Update read_utmp caller. | |||
1997-07-13 | (who): rename users to n_users | Jim Meyering | |
1997-07-13 | . | Jim Meyering | |