On 14 Oct 2003, Wayne Davison <[EMAIL PROTECTED]> wrote:
> On Tue, Oct 14, 2003 at 12:55:24PM +1000, Martin Pool wrote:
> > What did Apple change?
> 
> This is something we recently fixed in rsync:  the setgroups() call
> doesn't always allow a NULL argument.  We bypassed the problem by
> calling setgroups() with the single gid as our arg:
> 
>     if (setgroups(1, &gid)) {
> 
> That would work in the distcc code as well.  I also moved the call to
> setgid() prior to the setgroups() code, just because it seemed like a
> better order of events to me (in the rsync code).

Thanks, done.

-- 
Martin 
                               linux.conf.au -- Adelaide, January 2004
__ 
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options: 
http://lists.samba.org/mailman/listinfo/distcc

Reply via email to