[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-1020-g399ec4
From: |
Arnold Robbins |
Subject: |
[gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-1020-g399ec49 |
Date: |
Wed, 24 Dec 2014 18:38:18 +0000 |
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, master has been updated
via 399ec4931adce151b7633f2b66b04d021d3ae78c (commit)
from 45bba30a98164938c25b6ed3a574e5f8a175bbd7 (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=399ec4931adce151b7633f2b66b04d021d3ae78c
commit 399ec4931adce151b7633f2b66b04d021d3ae78c
Author: Arnold D. Robbins <address@hidden>
Date: Wed Dec 24 20:38:00 2014 +0200
Minor bug fix in pretty printing code.
diff --git a/ChangeLog b/ChangeLog
index a9c7e55..b78fc06 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-24 Arnold D. Robbins <address@hidden>
+
+ * profile.c (pprint): Be sure to set ip2 in all paths
+ through the code. Thanks to GCC 4.9 for the warning.
+
2014-12-12 Stephen Davies <address@hidden>
Improve comment handling in pretty printing.
diff --git a/profile.c b/profile.c
index ad879a3..233bca0 100644
--- a/profile.c
+++ b/profile.c
@@ -246,6 +246,7 @@ pprint(INSTRUCTION *startp, INSTRUCTION *endp, bool
in_for_header)
} else {
fprintf(prof_fp, "{\n");
ip1 = (pc + 1)->firsti;
+ ip2 = (pc + 1)->lasti;
}
ip1 = ip1->nexti;
}
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
profile.c | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-1020-g399ec49,
Arnold Robbins <=