bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCHv2 1/2] grantpt: only build pt_chown when needed


From: Bruno Haible
Subject: Re: [PATCHv2 1/2] grantpt: only build pt_chown when needed
Date: Thu, 20 Oct 2011 10:49:46 +0200
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

Hi Eric,

>  2011-10-19  Eric Blake  <address@hidden>
> 
> +     grantpt: only build pt_chown when needed
> +     * modules/pt_chown: Delete, merging into...
> +     * modules/grantpt: ...its sole user.  Make building of pt_chown
> +     depend on an automake conditional.
> +     * gnulib-tool (func_get_automake_snippet_unconditional): Alter
> +     special-casing of pt_chown.c.
> +     * NEWS: Document the change.

I completely disagree with this change. grantpt and pt_chown live in
different *programs*, link with different libraries, and are run at
different *security levels*. It MUST be possible to write these as
separate modules.

In particular, your patch would make it impossible to build 'grantpt'
in one directory and 'pt_chown' in a different directory (under the
scope of a different gnulib-tool invocation).

The --conditional-dependencies feature was designed to avoid hacks
like this.

Did you try to use this option? Does it not work?

Bruno
-- 
In memoriam Eduard Brücklmeier <http://en.wikipedia.org/wiki/Eduard_Brücklmeier>



reply via email to

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