[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [task #6990] Avoid copying source files from other projects
From: |
Marcus Brinkmann |
Subject: |
Re: [task #6990] Avoid copying source files from other projects |
Date: |
Fri, 08 Jun 2007 16:35:38 +0200 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.0 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
At Fri, 08 Jun 2007 13:20:17 +0000,
Thomas Schwinge <INVALID.NOREPLY@gnu.org> wrote:
> I just discovered that `[Hurd]/exec/' contains a number of source files that
> have -- at the time they've been installed (1998 resp. 1994) -- been
> verbatimly copied from the bzip2 and gzip (?) packages, but haven't been
> updated ever since.
>
> I suggest this to be revamped and instead use and link against libbz2 and
> libz.
It's quite customary to source-copy gzip decoding instead of linking
to a library, at least in some areas (for example, in gnupg this is
also done). Yes, this hides bugs, but it avoids a build time
dependency and is more robust/secure (in fact, exec itself is
statically linked anyway).
I am not saying linking against external libz should never be done,
but in the case of exec I think the arguments sway towards source
copying.
Thanks,
Marcus