Source-Changes archive

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

re: On pw_dup(3), and development in general (was: Re: CVS commit: src/lib/libc)



   
   Jaromir Dolecek <jdolecek%NetBSD.org@localhost> writes:
   > I have the same impression and fully agree with Klaus. Please, let's
   > move pw_dup(3) to libutil NOW. I see no reason to include in libc such
   > rarely used utility function. Once the reentrancy/thread-safety
   > changes would be in, you'd just use suitable getpwFOO_r() instead.
   > 
   > Please don't add new stuff to libc, unless it's clearly vital
   > functionality which can't be elsewhere.
   
   Libutil is not intended for things like this at all -- it is for
   things like login handling, pty hacking, etc. People keep throwing the
   wrong sorts of things into libutil and it gets rather annoying.


pw_dup(3) fits PERECTLY with the "login handling" you say above.  infact
every other pw_*(3) function is already in libutil!

what is getting rather annoying is people adding stuff to netbsd while
discussions are still happening about how that should be!


.mrg.



Home | Main Index | Thread Index | Old Index