On Sun, May 27, 2007 at 11:10:32PM +0200, Raphael Hertzog wrote:
> On Sun, 27 May 2007, Guido Guenther wrote:
> > Yes it does, but that doesn't seem to be sufficient. If you look at
> > nss/files-XXX.c you see:
> 
> Where's that from?
glibc

> 
> > Note that the group stays 112 until the buffer is large enough to fit
> > the "huge" group 10000 into it. This is something that must be handled
> > by the nss modul internally. So the pgsql module should IMHO do
> > somehting like:
> > 
> >     res = fetch("group");
> >         if (PQresultStatus(res)==PGRES_TUPLES_OK) {
> >                 status = res2grp(res, result, buffer, buflen, errnop);
> >                 if(status == NSS_STATUS_TRYAGAIN && *errnop = ERANGE)
>                                                             ^^
>                                                    should probably be ==
sure.

> >                         move("group", backwards)
> >         } else
> >                 status = NSS_STATUS_UNAVAIL;
> > 
> > Where move() just moves the cursor one row back. So I'll reassign to
> > libnss-pgsql1, if you agree?
> 
> Sure, however it's not the latest upstream version in Debian and it might
> not be completely relevant in that case.
I'll reassign the bug anyway, care to add the necessary version
information?
Cheers,
 -- Guido


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to