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 | |
parent | fafd03f5f6b0cbf80ebf5d3006268b7a5ab3fd78 (diff) | |
parent | ff7329df359352a8f62a21bbb9fea47cba29b589 (diff) | |
download | egawk-14b6266c875fd2a7ae3e6f34754aeb33b20ffc72.tar.gz egawk-14b6266c875fd2a7ae3e6f34754aeb33b20ffc72.tar.bz2 egawk-14b6266c875fd2a7ae3e6f34754aeb33b20ffc72.zip |
Merge branch 'master' into feature/cmake
-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) { |