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 "GNU M4 source repository".
http://git.sv.gnu.org/gitweb/?p=m4.git;a=commitdiff;h=6ef732d4eb5f53db6741d4bf1efa35ebcb6e8fd0 The branch, branch-1.4 has been updated via 6ef732d4eb5f53db6741d4bf1efa35ebcb6e8fd0 (commit) via 1029ee26629b5d4c44e80e1f318dc2508e0699e6 (commit) from 2e1f83075b57af0a4ceb5670a57700c94d34c09a (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 ----------------------------------------------------------------- commit 6ef732d4eb5f53db6741d4bf1efa35ebcb6e8fd0 Author: Eric Blake <[email protected]> Date: Tue Mar 1 11:42:36 2011 -0700 post-release administrivia * NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update. commit 1029ee26629b5d4c44e80e1f318dc2508e0699e6 Author: Eric Blake <[email protected]> Date: Tue Mar 1 10:35:09 2011 -0700 Release Version 1.4.16. * gnulib: Update to latest. * NEWS: Mention the release. * src/builtin.c (m4_defn): Silence spurious -Wstrict-overflow warnings from gcc 4.5.1 at -O2. Signed-off-by: Eric Blake <[email protected]> ----------------------------------------------------------------------- Summary of changes: .prev-version | 2 +- ChangeLog | 8 ++++++++ NEWS | 5 ++++- cfg.mk | 2 +- gnulib | 2 +- src/builtin.c | 12 +++++++----- 6 files changed, 22 insertions(+), 9 deletions(-) diff --git a/.prev-version b/.prev-version index 8a3b8ac..6ee81ab 100644 --- a/.prev-version +++ b/.prev-version @@ -1 +1 @@ -1.4.15 +1.4.16 diff --git a/ChangeLog b/ChangeLog index 601a547..894ca8b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-03-01 Eric Blake <[email protected]> + + Release Version 1.4.16. + * gnulib: Update to latest. + * NEWS: Mention the release. + * src/builtin.c (m4_defn): Silence spurious -Wstrict-overflow + warnings from gcc 4.5.1 at -O2. + 2011-02-28 Eric Blake <[email protected]> index: fix typo in previous commit diff --git a/NEWS b/NEWS index d4dbb1a..26f63a0 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,9 @@ GNU M4 NEWS - User visible changes. -* Noteworthy changes in release 1.4.16 (2011-01-??) [?] +* Noteworthy changes in release ?.? (????-??-??) [?] + + +* Noteworthy changes in release 1.4.16 (2011-03-01) [stable] ** Fix regressions in the `index' builtin. On glibc platforms, this avoids false positives from a strstr bug in glibc 2.9 through 2.12; diff --git a/cfg.mk b/cfg.mk index 6c19eef..b0ffdfe 100644 --- a/cfg.mk +++ b/cfg.mk @@ -35,7 +35,7 @@ local-checks-to-skip += sc_copyright_check config_h_header = "m4\.h" # Hash of NEWS contents, to ensure we don't add entries to wrong section. -old_NEWS_hash = cd89f6716f741756751054c484b7044b +old_NEWS_hash = 345b93b3900db54f6bab85e3da153b38 # Indent only with spaces. sc_prohibit_tab_based_indentation: diff --git a/gnulib b/gnulib index 06901ea..ef05ce6 160000 --- a/gnulib +++ b/gnulib @@ -1 +1 @@ -Subproject commit 06901ea287fd2d4d8f68afab41c6dbf95a854b5c +Subproject commit ef05ce61b0e5354256e0096c7dc022bf09bbf1d3 diff --git a/src/builtin.c b/src/builtin.c index 8ff03e8..632ef79 100644 --- a/src/builtin.c +++ b/src/builtin.c @@ -889,14 +889,16 @@ m4_defn (struct obstack *obs, int argc, token_data **argv) { symbol *s; builtin_func *b; - int i; + unsigned int i; if (bad_argc (argv[0], argc, 2, -1)) return; - for (i = 1; i < argc; i++) + assert (0 < argc && argc <= INT_MAX); + for (i = 1; i < (unsigned) argc; i++) { - s = lookup_symbol (ARG (i), SYMBOL_LOOKUP); + const char *arg = ARG((int) i); + s = lookup_symbol (arg, SYMBOL_LOOKUP); if (s == NULL) continue; @@ -912,11 +914,11 @@ m4_defn (struct obstack *obs, int argc, token_data **argv) b = SYMBOL_FUNC (s); if (b == m4_placeholder) M4ERROR ((warning_status, 0, "\ -builtin `%s' requested by frozen file is not supported", ARG (i))); +builtin `%s' requested by frozen file is not supported", arg)); else if (argc != 2) M4ERROR ((warning_status, 0, "Warning: cannot concatenate builtin `%s'", - ARG (i))); + arg)); else push_macro (b); break; hooks/post-receive -- GNU M4 source repository
