[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-inetutils] Re: DNS SRV support (patch)

From: Everton Marques
Subject: [bug-inetutils] Re: DNS SRV support (patch)
Date: Fri, 10 Dec 2004 16:45:02 -0200

On Fri, 10 Dec 2004 19:24:06 +0100, Robert Millan <address@hidden> wrote:
> On Fri, Dec 10, 2004 at 03:52:31PM -0200, Everton Marques wrote:
> > The patch uses dlsym(3), requires linking against -ldl.
> > dlopen(3) availability is checked at configure-time to
> > conditionally enable the whole DNS SRV patch.
> Why don't you just compile support in when libruli is present and link with
> it on build time?  Using dlopen here seems overkill to me.

It seems nice to be able to add/remove DNS SRV support to telnet
just by installing/removing a binary library (libruli3), instead of
requiring recompilation from the source package. And there is
a greater chance of one system having libdl than libruli, by
default. If libruli is not present, the build-time linking would
irreversibly remove SRV support from the resulting binary.
Besides, dlsym/dlopen portion of the patch is really small.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]