summaryrefslogtreecommitdiff
path: root/src/id.c
AgeCommit message (Collapse)Author
2000-12-02Move dcls of globals used only in main...Jim Meyering
(main): ...to here. (usage): Clarify option descriptions.
2000-06-26`id -Gn' (invoked by groups) would fail without giving a diagnosticJim Meyering
on malconfigured systems. (print_user): Give a diagnostic if number->name lookup fails. (print_group): Likewise.
2000-05-07Include "closeout.h".Jim Meyering
(main): Call atexit with close_stdout.
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-27(print_user): Use uid_t instead of int.Jim Meyering
(print_group): Use gid_t instead of int.
1999-03-10*** empty log message ***Jim Meyering
1999-03-09(xgetgroups): Take new parameter, gid, and pass it to getugroups.Jim Meyering
(print_group_list): Call getpwuid and adjust calls to xgetgroups to include new parameter.
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-01-25(usage): Remove static attribute.Jim Meyering
Move function be the first in the file.
1998-09-19update bug-reporting addressJim Meyering
1998-06-29revert back to using lower case _unlocked wrapper namesJim Meyering
1998-06-29Change all uses of unlocked-wrapped functions to their upper case wrapper names.Jim Meyering
1998-02-03add comments on #endif'sJim Meyering
1998-02-03(xgetgroups): Guard function defn with #if HAVE_GETGROUPS.Jim Meyering
1997-12-21s/__P/PARAMS/Jim Meyering
1997-12-21Don't include limits.h or sys/param.h.Jim Meyering
1997-10-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
1997-10-07update bug-reporting addressJim Meyering
1997-05-01indent cpp-directivesJim Meyering
1997-02-01bracket bug address with <> and append a periodJim Meyering
1997-02-01Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵Jim Meyering
*) 0' as last parameter in getopt_long call.
1996-11-18(main): Ignore -a, for compatibility with SVR4.Jim Meyering
1996-11-03change bug-reporting addressJim Meyering
1996-11-02change bug-reporting addressJim Meyering
1996-10-05(main): update --version output to conform to coding standardJim Meyering
1996-09-02(usage): Tell where to report bugs.Jim Meyering
1996-05-22.Jim Meyering
1996-05-21(xgetgroups): New function, factored out ofJim Meyering
print_group_list and print_full_info. (print_group_list): Call it. (print_full_info): Call it. From Andreas Schwab: (print_group_list): When USERNAME is specified use getugroups to get the number of groups. (print_full_info): Likewise.
1996-04-24update Copyright years for 1996Jim Meyering
1996-03-24Update FSF's address.Jim Meyering
1996-03-21(main): Declare to be of type int, not void.Jim Meyering
1996-03-16Don'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-06Protoize and __P-protect forward dcls.Jim Meyering
1996-01-06Remove no-longer-used NGROUPS_MAX cpp macros.Jim Meyering
(print_group_list) [HAVE_GETGROUPS]: Reorganize to use getgroups (0, NULL) to compute number of groups at run time rather than relying on NGROUPS_MAX at compile time. (print_full_info) [HAVE_GETGROUPS]: Likewise. Suggestion from Roland McGrath.
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-03-09add 1995 to Copyright datesJim Meyering
1994-12-20* src/*.c: Include "error.h" instead of simply declaringJim Meyering
`void error ();'.
1994-10-11.Jim Meyering
1994-10-01.Jim Meyering
1994-09-27merge with 1.10n2Jim Meyering
1994-04-20.Jim Meyering
1994-02-01.Jim Meyering
1994-01-03merge with 1.9.2cJim Meyering
1993-11-15merge with 1.9aJim Meyering
1993-10-26merge with 1.8.1iJim Meyering
1993-10-24merge with 1.8.1hJim Meyering