diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2016-10-26 08:01:22 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2016-10-26 08:01:22 +0300 |
commit | 14b6266c875fd2a7ae3e6f34754aeb33b20ffc72 (patch) | |
tree | c9ba04a13ef4685f457063a2515857c6b4b2ded3 /io.c | |
parent | fafd03f5f6b0cbf80ebf5d3006268b7a5ab3fd78 (diff) | |
parent | ff7329df359352a8f62a21bbb9fea47cba29b589 (diff) | |
download | egawk-14b6266c875fd2a7ae3e6f34754aeb33b20ffc72.tar.gz egawk-14b6266c875fd2a7ae3e6f34754aeb33b20ffc72.tar.bz2 egawk-14b6266c875fd2a7ae3e6f34754aeb33b20ffc72.zip |
Merge branch 'master' into feature/cmake
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2748,8 +2748,10 @@ init_awkpath(path_info *pi) start = path; i = 0; - if (*path == envsep) /* null entry at front of path */ + if (*path == envsep) { /* null entry at front of path */ pi->awkpath[i++] = "."; + pi->max_pathlen = 1; + } while (*start) { if (*start == envsep) { |