summaryrefslogtreecommitdiff
path: root/src/who.c
AgeCommit message (Collapse)Author
2000-05-07Include "closeout.h".Jim Meyering
(main): Call atexit with close_stdout.
2000-01-31Use UT_USER in place of hard-coded `->ut_name' here, too.Jim Meyering
1999-12-18(print_entry): Correct do_lookup test so that whoJim 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-31No 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-06Include 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-08copyright dateJim Meyering
1999-02-08Include stdio.h.Jim Meyering
1999-01-25(usage): Remove static attribute.Jim Meyering
1998-09-19update bug-reporting addressJim Meyering
1998-06-29Include system.h only after error.h and readutmp.hJim Meyering
so we don't get redefinition warnings about getc, etc. Revert back to using lower case _unlocked wrapper names.
1998-06-29Change all uses of unlocked-wrapped functions to their upper case wrapper names.Jim Meyering
1997-10-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
1997-10-07update bug-reporting addressJim 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-13Rename 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_usersJim Meyering
1997-07-13.Jim Meyering
1996-02-25.Jim Meyering
1996-01-06Define WHO and include new file, who-users.c.Jim Meyering
1995-11-27s/non-zero/nonzero/gJim Meyering
1995-08-08Annotate 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-05-13Use l?stat, not safe_l?stat.Jim Meyering
1995-03-09add 1995 to Copyright datesJim Meyering
1995-02-27(userid_compare): K&R'ify function definition.Jim Meyering
1994-12-20* src/*.c: Include "error.h" instead of simply declaringJim Meyering
`void error ();'.
1994-12-20(print_entry): Use safe_stat instead of SAFE_STAT.Jim Meyering
1994-12-04Use strr?chr instead of r?index.Jim Meyering
1994-11-18(list_entries): Delete. Split in two actually...Jim Meyering
(list_entries_users, list_entries_who, userid_compare): New functions. (list_entries_users): Sort the user names. Reported by Michael I Bushnell. Topologically sort the functions and remove fwd declarations.
1994-10-01.Jim Meyering
1994-09-27merge with 1.10n2Jim Meyering
1994-09-25.Jim Meyering
1994-09-24(read_utmp): New variable: size to avoid type warnings.Jim Meyering
1994-09-18.Jim Meyering
1994-07-22* who.c (print_entry): Use SAFE_STAT.Jim Meyering
1994-05-13.Jim Meyering
1994-05-01.Jim Meyering
1994-04-29.Jim Meyering
1994-04-20.Jim Meyering
1994-02-01.Jim Meyering
1994-01-07* who.c (print_entry): Prepend `/dev/' only if ut_line is notJim Meyering
already an absolute filename. Just to be safe.
1993-12-28who.cJim Meyering
1993-11-30merge with 1.9.1bJim Meyering
1993-11-20merge with 1.9.1aJim Meyering
1993-11-20utmpx changesJim Meyering
1993-11-15merge with 1.9aJim Meyering
1993-10-26merge with 1.8.1iJim Meyering
1993-10-24merge with 1.8.1hJim Meyering