NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/40728: expanding NIS-Netgroups for users and groups is very slow



The following reply was made to PR lib/40728; it has been noted by GNATS.

From: Wolfgang Stukenbrock <Wolfgang.Stukenbrock%nagler-company.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: lib/40728: expanding NIS-Netgroups for users and groups is very 
slow
Date: Mon, 23 Feb 2009 16:49:07 +0100

 Hi, again,
 
 additional testing has chown, that I missed to enter the folloing part 
 of the patch to getpwent.c.
 
 Without this change, "+" lines will drop the stayopen state and loop 
 with requesting the "master.passwd" map again
 
 Sorry my fault.
 
 here the missing patch part.
 
 @@ -2054,7 +2068,7 @@
                                 state->mode = COMPAT_FULL;
                                                 /* reset passwd_compat 
 search */
  /* XXXREENTRANT: setpassent is not thread safe ? */
 -                               (void) _passwdcompat_setpassent(0);
 +                               (void) 
 _passwdcompat_setpassent(_compat_state.stayopen);
                                 break;
                         case '@':               /* `+@netgroup' */
                                 state->mode = COMPAT_NETGROUP;
 
 
 gnats-admin%NetBSD.org@localhost wrote:
 
 >Thank you very much for your problem report.
 >It has the internal identification `lib/40728'.
 >The individual assigned to look at your
 >report is: lib-bug-people. 
 >
 >>Category:       lib
 >>Responsible:    lib-bug-people
 >>Synopsis:       expanding NIS-Netgroups for users and groups is very slow
 >>Arrival-Date:   Mon Feb 23 12:50:00 +0000 2009
 >>
 >
 
 


Home | Main Index | Thread Index | Old Index