Re: [PATCH 08/15] kconfig: expand by default the rootmenu's prompt

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

 



Hi,

On Sat, Sep 11, 2010 at 11:51 AM, Arnaud Lacombe <lacombar@xxxxxxxxx> wrote:
> Signed-off-by: Arnaud Lacombe <lacombar@xxxxxxxxx>
> ---
>  scripts/kconfig/zconf.y |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/zconf.y
> index e9b14efd..c95e67e 100644
> --- a/scripts/kconfig/zconf.y
> +++ b/scripts/kconfig/zconf.y
> @@ -502,6 +502,10 @@ void conf_parse(const char *name)
>                prop = prop_alloc(P_DEFAULT, modules_sym);
>                prop->expr = expr_alloc_symbol(sym_lookup("MODULES", 0));
>        }
> +
> +       rootmenu.prompt->text = strdup(_(rootmenu.prompt->text));
> +       rootmenu.prompt->text = sym_expand_string_value(rootmenu.prompt->text);
> +
actually, this strdup(3) is useless as it will be performed by
sym_expand_string_value().

 - Arnaud
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux