Re: [PATCH 09/15] kconfig: replace KERNELVERSION usage by the mainmenu'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:
> @@ -797,15 +795,13 @@ int conf_write_autoconf(void)
>                return 1;
>        }
>
> -       sym = sym_lookup("KERNELVERSION", 0);
> -       sym_calc_value(sym);
>        time(&now);
>        fprintf(out, "#\n"
>                     "# Automatically generated make config: don't edit\n"
> -                    "# Linux kernel version: %s\n"
> +                    "# %s\n"
>                     "# %s"
>                     "#\n",
> -                    sym_get_string_value(sym), ctime(&now));
> +                    rootmenu.prompt->text, ctime(&now));
>        fprintf(tristate, "#\n"
>                          "# Automatically generated - do not edit\n"
>                          "\n");
d'oh! I missed one occurence of "Linux kernel version:..." right below
that one :(

Fixed in the `kbuild-generic-v6' branch of the github repo, as is the
extra strdup().

 - 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