DragonFly BSD
DragonFly kernel List (threaded) for 2003-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: LibC status and others...


From: Dave Leimbach <leimySPAM2k@xxxxxxx>
Date: 10 Dec 2003 18:33:49 -0600

ibotty <bsd@xxxxxxxxxx> writes:

> >     What I would do is rename, e.g., getpwnam() to getpwnam_r(), add the
> >     required passwd pointer, and use the pointer instead of the static
> >     _pw_passwd.  Then write a new getpwnam() which simply aclls
> >     getpwnam_r() using &_pw_passwd for the passwd pointer.
> > 
> >     Would you like to have a go at making this change?  If you know any C
> >     at all it should be a breeze.  If not, maybe one of the other
> >     developers
> >     would like to have a go at it.  If not that, then I can do it (it
> >     would take me less then 30 minutes to do).
> 
> well, it took me less than 30 minutes...
> but it was really simple and is most likely not correct.
> 
> but maybe it is, and this way, we could concentrate on something different.
> btw: if this looks right, i may tackle the other _r's tomorrow.
> 
> ~ibotty

Ok so where the hell is _pw_passwd declared?  I know C fairly well but
I don't know yacc and I detect yaccisms all over the bloody place.

Dave



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