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.
I don't take a position on whether pw_dup is needed or not, but it
would certainly seem to be a libc sort of thing, not a libutil sort of
thing.
Perry
Home |
Main Index |
Thread Index |
Old Index