1 commit 6e06da5efd5d6e341ae2f5116c449994740f5613
2 Author: Denys Vlasenko <vda.linux@googlemail.com>
3 Date: Mon Aug 2 02:17:25 2010 +0200
5 update _shipped file with hurd fix
7 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
9 diff --git a/scripts/kconfig/lex.zconf.c_shipped b/scripts/kconfig/lex.zconf.c_shipped
10 index 4837bbf..51f15e1 100644
11 --- a/scripts/kconfig/lex.zconf.c_shipped
12 +++ b/scripts/kconfig/lex.zconf.c_shipped
13 @@ -2235,13 +2235,14 @@ static void zconf_endhelp(void)
15 FILE *zconf_fopen(const char *name)
17 - char *env, fullname[PATH_MAX+1];
22 if (!f && name[0] != '/') {
23 env = getenv(SRCTREE);
25 + char *fullname = alloca(strlen(env) + strlen(name) + 2);
26 sprintf(fullname, "%s/%s", env, name);
27 f = fopen(fullname, "r");