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-2473-g34f44e4
Date: Mon, 20 Mar 2017 15:26:14 -0400 (EDT)

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  34f44e49e257d48eb1db3bc4d78c2b9ceb331717 (commit)
       via  efc7e96c876ccf3b83ab3249eca852a0292ff943 (commit)
       via  7ec5068a7419cc4dddcf7e060077a1287217c5cd (commit)
       via  de684770acc545bf14f85655d44fe91e9afa0ba3 (commit)
       via  1e9198f58d7d5616e03dc4b2bb6f738ab4e89f06 (commit)
       via  3272a45617a6c6b58096e7e8349c7d5d63b910f6 (commit)
       via  0fb0e8d020571df6f874e1e66f577cff14ba0784 (commit)
      from  d3d3f38ef66954d54fa687d49872ed968c391a3b (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=34f44e49e257d48eb1db3bc4d78c2b9ceb331717

commit 34f44e49e257d48eb1db3bc4d78c2b9ceb331717
Merge: d3d3f38 efc7e96
Author: Arnold D. Robbins <address@hidden>
Date:   Mon Mar 20 21:26:06 2017 +0200

    Merge branch 'master' into feature/stringfix

diff --cc awk.h
index 205bf1e,163ad36..a8255d9
--- a/awk.h
+++ b/awk.h
@@@ -1959,18 -1963,10 +1963,27 @@@ erealloc_real(void *ptr, size_t count, 
        return ret;
  }
  
++
 +/*
 + * str_terminate_f, str_terminate, str_restore: function and macros to
 + * reduce chances of typos when terminating and restoring strings.
 + * This also helps to enforce that the NODE must be in scope when we restore.
 + */
 +
 +static inline void
 +str_terminate_f(NODE *n, char *savep)
 +{
 +      *savep = n->stptr[n->stlen];
 +      n->stptr[n->stlen] = '\0';
 +}
 +
 +#define str_terminate(n, save) str_terminate_f((n), &save)
 +#define str_restore(n, save) (n)->stptr[(n)->stlen] = save
++
+ #ifdef SIGPIPE
+ #define ignore_sigpipe() signal(SIGPIPE, SIG_IGN)
+ #define set_sigpipe_to_default() signal(SIGPIPE, SIG_DFL)
+ #else
+ #define ignore_sigpipe()
+ #define set_sigpipe_to_default()
+ #endif

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

Summary of changes:
 ChangeLog                        |   29 +
 awk.h                            |   13 +
 builtin.c                        |   21 +-
 config.guess                     |   12 +-
 config.rpath                     |    2 +-
 config.sub                       |    5 +-
 configure                        |   33 +-
 configure.ac                     |   33 +-
 doc/ChangeLog                    |    6 +
 doc/gawk.info                    | 1122 ++++++++++++++++++++------------------
 doc/gawk.texi                    |   59 +-
 doc/gawktexi.in                  |   59 +-
 extension/build-aux/ChangeLog    |    5 +
 extension/build-aux/config.guess |   12 +-
 extension/build-aux/config.rpath |    2 +-
 extension/build-aux/config.sub   |    5 +-
 extension/build-aux/install-sh   |    4 +-
 install-sh                       |    4 +-
 io.c                             |   69 ++-
 main.c                           |    5 +-
 test/ChangeLog                   |    7 +
 test/Makefile.am                 |   12 +-
 test/Makefile.in                 |   12 +-
 test/argarray.ok                 |    4 +-
 24 files changed, 889 insertions(+), 646 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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