git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4caefdf
)
r23475: Fix the prototype for sys_broken_setgroups and log *BSD group list
author
James Peach
<jpeach@samba.org>
Wed, 13 Jun 2007 21:42:31 +0000
(21:42 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:23:19 +0000
(12:23 -0500)
truncation a bit more verbosely.
(This used to be commit
e3ea997289f9f2613c304c016b42b2d35af48c84
)
source3/lib/system.c
patch
|
blob
|
history
diff --git
a/source3/lib/system.c
b/source3/lib/system.c
index 13f743faa4f9e36505f607bfec33fa1f38a7a496..309b21f59fec345663a76beb75e8debd305b14ec 100644
(file)
--- a/
source3/lib/system.c
+++ b/
source3/lib/system.c
@@
-936,7
+936,7
@@
static int sys_broken_getgroups(int setlen, gid_t *gidset)
return ngroups;
}
-static int sys_broken_setgroups(
gid_t primary_gid,
int setlen, gid_t *gidset)
+static int sys_broken_setgroups(int setlen, gid_t *gidset)
{
GID_T *group_list;
int i ;
@@
-1019,7
+1019,7
@@
static int sys_bsd_setgroups(gid_t primary_gid, int setlen, const gid_t *gidset)
}
if (setlen > max) {
- DEBUG(
10
, ("forced to truncate group list from %d to %d\n",
+ DEBUG(
3
, ("forced to truncate group list from %d to %d\n",
setlen, max));
setlen = max;
}