hi, there!
Any objections if I will commit the following patch (see PR/15421)?
Index: initgroups.c
===================================================================
RCS file: /home/ncvs/src/lib/libc/gen/initgroups.c,v
retrieving revision 1.4
diff -u -r1.4 initgroups.c
--- initgroups.c 2001/08/29 13:52:26 1.4
+++ initgroups.c 2001/11/13 20:17:03
@@ -59,9 +59,5 @@
if (getgrouplist(uname, agroup, groups, &ngroups) < 0)
warnx("%s is in too many groups, using first %d",
uname, ngroups);
- if (setgroups(ngroups, groups) < 0) {
- _warn("setgroups");
- return (-1);
- }
- return (0);
+ return setgroups(ngroups, groups);
}
/fjoe
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message