summaryrefslogtreecommitdiff
path: root/package/config/zconf.l
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-23 14:06:59 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-23 14:06:59 +0000
commit0d888e3677d9cd501c6b87f634d9bb8f13de581f (patch)
treec9abe1ce50c34b4610732bbeb4c7e2d0335e9861 /package/config/zconf.l
parente640e6a8ef197f712237668bf7c8a9b89fa01310 (diff)
- pull kbuild from 2.6.22.7. This should fix the ncurses detection for dylib et al
Diffstat (limited to 'package/config/zconf.l')
-rw-r--r--package/config/zconf.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/config/zconf.l b/package/config/zconf.l
index cfa46077c..187d38cca 100644
--- a/package/config/zconf.l
+++ b/package/config/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);