Date: Mon, 7 Dec 2009 13:22:56 +0100 From: Luigi Rizzo <rizzo@iet.unipi.it> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: Ed Schouten <ed@80386.nl>, src-committers@freebsd.org, Hajimu UMEMOTO <ume@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org, Dag-Erling Sm??rgrav <des@des.no> Subject: Re: the need for safe dynamic string libraries (was Re: svn commit: r200157 - head/bin/date) Message-ID: <20091207122256.GC64431@onelab2.iet.unipi.it> In-Reply-To: <42026.1260183338@critter.freebsd.dk> References: <20091207105343.GA62012@onelab2.iet.unipi.it> <42026.1260183338@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 07, 2009 at 10:55:38AM +0000, Poul-Henning Kamp wrote: > In message <20091207105343.GA62012@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091207122256.GC64431>