gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gawk-diffs] [SCM] gawk branch, feature/stringfix, updated. gawk-4.1.0-2


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, feature/stringfix, updated. gawk-4.1.0-2430-g7fde574
Date: Fri, 27 Jan 2017 10:15:19 +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, feature/stringfix has been updated
       via  7fde574084ff20787460118ae8d6a433f36b919a (commit)
       via  8352dc592cf635a731f7f91d183c0679b3fc4fd2 (commit)
       via  6639a575ebfbf3a62fe168c6152429c47d591d75 (commit)
       via  46a2c1e4abbbb79df33bd9a4b79ea878ea297e48 (commit)
       via  c0c69f02e4d300aebf91516a1a521828f6885b26 (commit)
       via  d6fe1f907f495863c3ff6875f9d308e5d08ee0ff (commit)
       via  915d9b93c16bce9ff740df7ab0ba2e2c2a3a516f (commit)
       via  15f74af1fe48bc4048cb345615389fa7bcc05f85 (commit)
      from  e8c6871e80524e928954b01ff50030a11b2a94eb (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=7fde574084ff20787460118ae8d6a433f36b919a

commit 7fde574084ff20787460118ae8d6a433f36b919a
Merge: e8c6871 8352dc5
Author: Arnold D. Robbins <address@hidden>
Date:   Fri Jan 27 12:15:11 2017 +0200

    Merge branch 'master' into feature/stringfix

diff --cc ChangeLog
index dc31173,bbec422..2df4e17
--- a/ChangeLog
+++ b/ChangeLog
@@@ -1,57 -1,17 +1,69 @@@
+ 2017-01-27         Andrew J. Schorr     <address@hidden>
+ 
+       * interpret.h [UNFIELD]: Fix condition for assignment from
+       value with valref == 1. Fixes problems introduced at gawk 4.1.2.
+ 
+ 2017-01-27         Arnold D. Robbins     <address@hidden>
+ 
+       * interpret.h: Update copyright year.
+       * debug.c (do_run): Rework error message to ease translation.
+       Thanks to Rafael Fontenelle <address@hidden> and to
+       Eli Zaretskii <address@hidden>.
+ 
  2017-01-26         Andrew J. Schorr     <address@hidden>
  
 +      * builtin.c (do_dcgettext): First argument also needs protection
 +      from string overrun.
 +      (do_dcngettext): Need to terminate string1 and string2 also,
 +      and replace strlen(the_result), which could overrun.
 +      (do_bindtextdomain): Terminate both string args, and eliminate
 +      saved_end boolean which is redundant with (t2 != NULL).
 +
 +2017-01-26         Andrew J. Schorr     <address@hidden>
 +
 +      * interpret.h (Op_arrayfor_init): Protect against string overrun
 +      on sorting method.
 +      (Op_indirect_func_call): Terminate function name.
 +
 +2017-01-26         Andrew J. Schorr     <address@hidden>
 +
 +      * str_array.c (env_remove): Terminate string before calling unsetenv.
 +
 +2017-01-26         Andrew J. Schorr     <address@hidden>
 +
 +      * node.c (is_hex): Add a new argument pointing to the end of the string
 +      so we can check for string overrun.
 +      (r_force_number): Pass string end to is_hex.
 +
 +2017-01-26         Andrew J. Schorr     <address@hidden>
 +
 +      * awk.h (get_numbase): Add string length argument so we can operate
 +      on unterminated strings.
 +      * awkgram.y: Call get_numbase with string length, and fix off-by-one
 +      error in length passed to nondec2awknum: should be strlen(tokstart)-1
 +      based on surrounding code.
 +      * builtin.c (do_strtonum): Pass string length to get_numbase.
 +      (nondec2awknum): Check string length before accessing characters.
 +      * mpfr.c (force_mpnum): Pass string length to get_numbase.
 +      * node.c (r_force_number): Pass string length to get_numbase.
 +      (get_numbase): Add string length argument and honor it.
 +
 +2017-01-26         Andrew J. Schorr     <address@hidden>
 +
 +      * builtin.c (do_strftime): If format argument is passed, we need
 +      to terminate it in case it's a field variable.
 +
 +2017-01-26         Andrew J. Schorr     <address@hidden>
 +
 +      * node.c (r_format_val): Before we free s->stptr, make sure that it
 +      was malloced.
 +      (wstr2str): Add comment explaining why it's safe to free n->stptr
 +      without doing any checks.
 +      * mpfr.c (mpg_format_val): Ditto. And no need to reset the STRCUR flag
 +      that we just checked.
 +
 +2017-01-26         Andrew J. Schorr     <address@hidden>
 +
        * awk.h (enum block_id): Remove BLOCK_INVALID, since it serves no
        useful purpose and seems to slow things down a bit.
        * node.c (nextfree): Remove first invalid entry.
diff --cc test/ChangeLog
index badd21b,3566cce..4aa9861
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@@ -1,7 -1,7 +1,12 @@@
+ 2017-01-27         Andrew J. Schorr     <address@hidden>
+ 
+       * Makefile.am (gensub3): New test.
+       * gensub3.awk, gensub3.in, gensub3.ok: New files.
++
 +2017-01-26         Andrew J. Schorr     <address@hidden>
 +
 +      * Makefile.am (strftfld): New test.
 +      * strftfld.awk, strftfld.in, strftfld.ok: New files.
  
  2017-01-15         Andrew J. Schorr     <address@hidden>
  

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog        |   12 +
 debug.c          |    6 +-
 doc/ChangeLog    |    4 +
 doc/gawk.info    |    4 +-
 doc/gawk.texi    |    6 +-
 doc/gawktexi.in  |    6 +-
 interpret.h      |    6 +-
 po/ChangeLog     |    5 +
 po/LINGUAS       |    1 +
 po/pt_BR.po      | 3900 +++++++++++++++++++++++++++++++++++++-----------------
 test/ChangeLog   |    5 +
 test/Makefile.am |    5 +-
 test/Makefile.in |   10 +-
 test/Maketests   |    5 +
 test/gensub3.awk |    8 +
 test/gensub3.in  |    2 +
 test/gensub3.ok  |    1 +
 17 files changed, 2740 insertions(+), 1246 deletions(-)
 create mode 100644 test/gensub3.awk
 create mode 100644 test/gensub3.in
 create mode 100644 test/gensub3.ok


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]