Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Dec 2009 12:40:23 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Luigi Rizzo <rizzo@iet.unipi.it>
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:  <42578.1260189623@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 07 Dec 2009 13:22:56 %2B0100." <20091207122256.GC64431@onelab2.iet.unipi.it> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20091207122256.GC64431@onelab2.iet.unipi.it>, Luigi Rizzo writes:

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

I would be very happy to see a libposux, even more so, if the content
were standardized across Linux and FreeBSD.

>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

Remember that shared libraries, you load all or nothing.

With old fashioned .a libs, you cherrypicked the bits you needed.

It can be argued that we should just dump everything in libc, but
first, that would impair portability from FreeBSD, and second, it
would be just plain sloppy...

Poul-Henning

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42578.1260189623>