Re: [PATCH] cyrus-imapd: use getgrouplist instead of set/getgrent on systems supporting it

2007-09-17 Thread Ken Murchison
Tomas Janousek wrote: Hi Simon, On Tue, Jun 12, 2007 at 03:52:27PM +0200, Simon Matter wrote: I have slightly modified the patch to make older GCC happy with it. Does it still look okay? Yeah, it's fine, thanks. I applied Simon's version to CVS, but then I realized that it causes

Re: [PATCH] cyrus-imapd: use getgrouplist instead of set/getgrent on systems supporting it

2007-09-17 Thread Tomas Janousek
Hello, On Mon, Sep 17, 2007 at 09:49:38AM -0400, Ken Murchison wrote: I applied Simon's version to CVS, but then I realized that it causes myfreestate() to crash on my Linux box, because the newstate-groups array doesn't get entirely populated. The following patch fixes the problem of Oh,

Re: [PATCH] cyrus-imapd: use getgrouplist instead of set/getgrent on systems supporting it

2007-09-17 Thread Ken Murchison
Tomas Janousek wrote: Hello, On Mon, Sep 17, 2007 at 09:49:38AM -0400, Ken Murchison wrote: I applied Simon's version to CVS, but then I realized that it causes myfreestate() to crash on my Linux box, because the newstate-groups array doesn't get entirely populated. The following patch fixes