diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2016-10-26 08:01:50 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2016-10-26 08:01:50 +0300 |
commit | e404706d5e2ea41229fe5be9b0725202f49bf308 (patch) | |
tree | e854058fbc90ee9df581b1dafdc7bf7df24a2faa /io.c | |
parent | d9021db4fd5558ca061987ec3face924adaf696b (diff) | |
parent | ff7329df359352a8f62a21bbb9fea47cba29b589 (diff) | |
download | egawk-e404706d5e2ea41229fe5be9b0725202f49bf308.tar.gz egawk-e404706d5e2ea41229fe5be9b0725202f49bf308.tar.bz2 egawk-e404706d5e2ea41229fe5be9b0725202f49bf308.zip |
Merge branch 'master' into feature/typed-regex
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) { |