summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-12-04 08:06:55 -0700
committerEric Blake <ebb9@byu.net>2009-12-04 19:18:06 -0700
commit9b4b38f56e854f8f1343fed9dbc225ffbb1d77d4 (patch)
tree019ad2a21b62a3ec30eec76b5891c8a749abc377 /NEWS
parent5224fbd6f904633b72f4bfa9d64e903744b0beae (diff)
downloadcoreutils-9b4b38f56e854f8f1343fed9dbc225ffbb1d77d4.tar.xz
id: handle systems without getgroups support
If getgroups failed with ENOSYS, mgetgroups would unnecessarily fail, and that provoked id into freeing an uninitialized pointer. Meanwhile, we were not using xalloc_die properly. Both issues are better solved in gnulib, by introducing xgetgroups; this patch uses the new interface. Regression introduced by commit 6a31fd8d7. * gnulib: Update, for mgetgroups improvments. * src/id.c (print_full_info): Adjust caller to die on allocation failure, and no longer worry about ENOSYS. * src/group-list.c (print_group_list): Likewise. * src/setuidgid.c (main): Likewise. * NEWS: Mention the fix. * THANKS: Update. Reported by Scott Harrison.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 9f7bf2e5f..19cca5bdb 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,9 @@ GNU coreutils NEWS -*- outline -*-
** Bug fixes
+ id no longer crashes on systems without supplementary group support.
+ [bug introduced in coreutils-8.1]
+
rm once again handles zero-length arguments properly.
The rewrite to make rm use fts introduced a regression whereby
a command like "rm a '' b" would fail to remove "a" and "b", due to