[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-986
From: |
Arnold Robbins |
Subject: |
[gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-986-g463ef15 |
Date: |
Wed, 26 Oct 2016 05:00:54 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".
The branch, gawk-4.1-stable has been updated
via 463ef15103eb7708e2f295920faf5a8def306aa0 (commit)
from 04e37f2ec691b6ba1f4e4d57e4baaccbcdd305cc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=463ef15103eb7708e2f295920faf5a8def306aa0
commit 463ef15103eb7708e2f295920faf5a8def306aa0
Author: Arnold D. Robbins <address@hidden>
Date: Wed Oct 26 08:00:35 2016 +0300
Minor bug fix for init_awkpath.
diff --git a/ChangeLog b/ChangeLog
index 84817fe..9bed030 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-10-26 Arnold D. Robbins <address@hidden>
+
+ * io.c (init_awkpath): Set max path len for leading separator.
+
2016-10-25 Arnold D. Robbins <address@hidden>
* io.c (init_awkpath): Restore documented behavior whereby
diff --git a/io.c b/io.c
index 931dcfe..ab4029e 100644
--- a/io.c
+++ b/io.c
@@ -2613,8 +2613,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) {
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
io.c | 4 +++-
2 files changed, 7 insertions(+), 1 deletion(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-986-g463ef15,
Arnold Robbins <=