Re: gdm browser broken ...



On Thu, May 10, 2001 at 04:01:42AM +0200, Remi Cohen-Scali wrote:
> The gdmlogin.c in cvs is broken in gdm_login_users_init.
> The following code:
> 
>     pwent = NULL;
> 
>     while (pwent != NULL) {
> 
> should be, I think:
> 
>     pwent = getpwent();
> 
>     while (pwent != NULL) {
> 
> doesn't it ?

Yup you're absolutely right.  Actually to be completely correct it should use
setpwent and endpwent as well.  Those changes are done in CVS and will be in
2.2.2 when that happens in a week or so.  Thanks!

George

-- 
George <jirka 5z com>
   Where all men think alike, no one thinks very much.
                       -- Walter Lippmann




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]