From 52cca82faa3433be499b3da1d5e0bd4c043c2b6b Mon Sep 17 00:00:00 2001 From: Marcin Garski Date: Sat, 5 May 2007 22:49:00 +0200 Subject: [PATCH] --- yaml --- r: 54158 b: refs/heads/master c: 11de39e2fbbc592018e0a231d0ee773653dcc8d6 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/scripts/kconfig/lex.zconf.c_shipped | 2 +- trunk/scripts/kconfig/zconf.l | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 946d95571303..0463951ad667 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 767e581d759fe6adfef5e676cd1cd8e11f603d1a +refs/heads/master: 11de39e2fbbc592018e0a231d0ee773653dcc8d6 diff --git a/trunk/scripts/kconfig/lex.zconf.c_shipped b/trunk/scripts/kconfig/lex.zconf.c_shipped index 800f8c71c407..0fdc9049296f 100644 --- a/trunk/scripts/kconfig/lex.zconf.c_shipped +++ b/trunk/scripts/kconfig/lex.zconf.c_shipped @@ -2264,7 +2264,7 @@ FILE *zconf_fopen(const char *name) FILE *f; f = fopen(name, "r"); - if (!f && name[0] != '/') { + if (!f && name != NULL && name[0] != '/') { env = getenv(SRCTREE); if (env) { sprintf(fullname, "%s/%s", env, name); diff --git a/trunk/scripts/kconfig/zconf.l b/trunk/scripts/kconfig/zconf.l index cfa46077c6b4..187d38ccadd5 100644 --- a/trunk/scripts/kconfig/zconf.l +++ b/trunk/scripts/kconfig/zconf.l @@ -265,7 +265,7 @@ FILE *zconf_fopen(const char *name) FILE *f; f = fopen(name, "r"); - if (!f && name[0] != '/') { + if (!f && name != NULL && name[0] != '/') { env = getenv(SRCTREE); if (env) { sprintf(fullname, "%s/%s", env, name);