diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2016-10-26 08:01:44 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2016-10-26 08:01:44 +0300 |
commit | cb5ce43cf0f95b7691dde8341d8ffc4b2cc4d1bc (patch) | |
tree | cfec0e75b0fd805b1a9a47a89eaf729868b595e8 /io.c | |
parent | ff67a43d663d1f24a9cd26933e57d33af4a4d7a4 (diff) | |
parent | ff7329df359352a8f62a21bbb9fea47cba29b589 (diff) | |
download | egawk-cb5ce43cf0f95b7691dde8341d8ffc4b2cc4d1bc.tar.gz egawk-cb5ce43cf0f95b7691dde8341d8ffc4b2cc4d1bc.tar.bz2 egawk-cb5ce43cf0f95b7691dde8341d8ffc4b2cc4d1bc.zip |
Merge branch 'master' into feature/nocopy
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2747,8 +2747,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) { |