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 | |
parent | d9021db4fd5558ca061987ec3face924adaf696b (diff) | |
parent | ff7329df359352a8f62a21bbb9fea47cba29b589 (diff) | |
download | gawk-e404706d5e2ea41229fe5be9b0725202f49bf308.tar.gz |
Merge branch 'master' into feature/typed-regex
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | io.c | 4 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2016-10-26 Arnold D. Robbins <arnold@skeeve.com> + + * io.c (init_awkpath): Set max path len for leading separator. + 2016-10-25 Arnold D. Robbins <arnold@skeeve.com> * io.c (init_awkpath): Restore documented behavior whereby @@ -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) { |