aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-03-26 21:38:48 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-03-26 21:38:48 +0200
commit389a62c56e6a09a5e3348aa46b52288a533c653e (patch)
tree3ce0524a160c0b8bef3296f0e704bb85a0b1352a /io.c
parent2981962139f8a726f5568d8ab1004e078214cea3 (diff)
parent15635ff21b6f1a0951f0ff5de6ddaf0edab8edd7 (diff)
downloadegawk-389a62c56e6a09a5e3348aa46b52288a533c653e.tar.gz
egawk-389a62c56e6a09a5e3348aa46b52288a533c653e.tar.bz2
egawk-389a62c56e6a09a5e3348aa46b52288a533c653e.zip
Merge branch 'xgawk' into xgawk-build
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 79bc8682..e3327f17 100644
--- a/io.c
+++ b/io.c
@@ -2345,7 +2345,7 @@ init_awkpath(path_info *pi)
pi->max_pathlen = 0;
if ((path = getenv(pi->envname)) == NULL || *path == '\0')
- path = *(pi->dfltp);
+ path = pi->dfltp[0];
max_path = INC_PATH;
emalloc(pi->awkpath, char **, (max_path + 1) * sizeof(char *), "init_awkpath");