James Youngman
167b8025ac
Replace groups.sh with groups.c.
...
* src/groups.c (main): New file, replacing groups.sh.
* src/group-list.c, src/group-list.h: New files, factored out of id.c,
implementing the functionality that "id" and "groups" have in common.
* src/id.c (print_full_info): Avoid a segfault when trying to print
an error message if getgroups fails.
(print_group_list): Move to group-list.c.
(print_group): Likewise.
* man/Makefile.am: When building groups.1, obtain the help text
from src/groups.c, not src/groups.sh.
(noinst_HEADERS): Add group-list.h.
(group): Remove rule.
(dist_man_MANS): Remove groups.1.
* doc/coreutils.texi (groups: Print group names a user is in):
Explain why "groups" and "groups $(id -un)" give different results
in existing login sessions after you change the group database.
(id: Print user identity): Likewise for "id".
* po/POTFILES.in: Add src/group-list.c and src/groups.c.
* NEWS: mention this.
* AUTHORS: Update.
2008-02-13 14:37:22 +01:00
..
2007-10-07 19:44:38 +02:00
2007-07-23 14:35:58 +02:00
2007-08-30 17:12:56 +02:00
2008-01-30 19:37:07 +01:00
2007-12-04 00:42:18 +01:00
2008-01-30 19:29:11 +01:00
2007-07-23 14:35:58 +02:00
2008-01-30 19:29:11 +01:00
2008-01-30 19:29:11 +01:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-08-30 17:12:56 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-12-04 00:42:18 +01:00
2007-12-01 10:09:57 +01:00
2007-07-23 14:35:58 +02:00
2005-06-02 05:17:24 +00:00
2008-01-09 11:24:12 +01:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-08-22 16:59:40 +02:00
2007-07-23 14:35:58 +02:00
2008-01-31 09:24:35 +01:00
2007-10-27 09:42:27 +02:00
2007-08-22 16:59:40 +02:00
2008-01-26 17:16:37 +01:00
2007-08-30 17:12:56 +02:00
2007-07-23 14:35:58 +02:00
2007-08-11 08:32:50 +02:00
2007-08-30 17:12:56 +02:00
2007-08-29 00:14:23 +02:00
2007-07-23 14:35:58 +02:00
2007-10-25 08:59:30 +02:00
2007-07-23 14:35:58 +02:00
2007-08-30 17:12:56 +02:00
2005-07-18 07:52:37 +00:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2008-02-13 14:37:22 +01:00
2008-02-13 14:37:22 +01:00
2008-02-13 14:37:22 +01:00
2007-07-23 14:35:58 +02:00
2007-08-30 17:12:56 +02:00
2007-08-30 17:12:56 +02:00
2008-02-13 14:37:22 +01:00
2007-12-01 10:09:57 +01:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2003-07-06 06:08:40 +00:00
2007-08-30 17:12:56 +02:00
2007-08-23 14:00:35 +02:00
2007-08-30 17:12:56 +02:00
2008-01-29 09:23:51 +01:00
2008-02-13 14:37:22 +01:00
2007-08-22 16:59:40 +02:00
2008-02-07 08:26:48 +01:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-10-07 19:44:38 +02:00
2007-12-01 10:09:57 +01:00
2007-08-30 17:12:56 +02:00
2007-07-23 14:35:58 +02:00
2007-08-30 17:12:56 +02:00
2007-08-24 14:51:55 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-08-11 08:32:50 +02:00
2007-08-30 17:12:56 +02:00
2007-10-21 14:01:27 +02:00
2007-07-23 14:35:58 +02:00
2007-08-30 17:12:56 +02:00
2007-08-28 11:23:27 +02:00
2008-01-30 19:29:11 +01:00
2007-07-23 14:35:58 +02:00
2007-08-20 17:03:45 +02:00
2008-01-30 13:51:38 +01:00
2007-11-23 09:03:23 +01:00
2007-11-21 18:37:08 +01:00
2008-01-26 10:04:17 +01:00
2007-12-04 00:42:18 +01:00
2007-07-23 14:35:58 +02:00
2007-08-30 17:12:56 +02:00
2007-10-07 18:41:49 +02:00
2008-02-07 08:26:48 +01:00
2007-12-01 18:48:43 +01:00
2007-07-23 14:35:58 +02:00
2007-08-29 00:14:23 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2008-01-30 19:29:11 +01:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-08-30 17:12:56 +02:00
2008-01-06 09:54:15 +01:00
2008-01-06 00:09:29 +01:00
2007-08-30 17:12:56 +02:00
2007-10-07 18:16:07 +02:00
2007-08-29 00:14:23 +02:00
2007-07-10 19:00:00 +02:00
2007-07-10 19:00:00 +02:00
2007-07-23 14:35:58 +02:00
2007-07-10 19:00:00 +02:00
2007-07-23 14:35:58 +02:00
2007-12-19 10:01:57 +01:00
2007-08-30 17:12:56 +02:00
2007-08-30 17:12:56 +02:00
2007-08-30 17:12:56 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-07-23 14:35:58 +02:00
2007-08-30 17:12:56 +02:00
2007-08-30 17:12:56 +02:00