the need for safe dynamic string libraries (was Re: svn commit: r200157 - head/bin/date)

Luigi Rizzo rizzo at iet.unipi.it
Mon Dec 7 12:14:38 UTC 2009


On Mon, Dec 07, 2009 at 10:55:38AM +0000, Poul-Henning Kamp wrote:
> In message <20091207105343.GA62012 at onelab2.iet.unipi.it>, Luigi Rizzo writes:
> 
> >One way to promote this is to put the code in libc so even lazy
> >people won't need to remember to pass linker flags when using the library.
> 
> I don't think sbuf's belong in libc, unless we can persude POSIX to
> adopt them.

right, then some other commonly used but not locked-by-standards place.
libutil? libbsdstuffnotstandardizedbyposix ?

Again my point (perhaps lost in the initial thread) was that the number
of one-file libraries used in our base code is increasing:
	libsbuf, libjail, libbsdxml...
to me, individual files are library members, there is no need to
dedicate an entire library to a library member

cheers
luigi


More information about the svn-src-all mailing list