gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-1781-gd7b425


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-1781-gd7b4254
Date: Thu, 12 May 2016 19:40:06 +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, master has been updated
       via  d7b4254cbf5f70d430e21f4f8ca90e354e251bac (commit)
       via  29f8ff8ee26d1c5c3fad9129786687c745322494 (commit)
       via  06714df692a1b4f3437264fadfdd6b14a014f7e5 (commit)
       via  b2b81414cc6f4c2c4b5539a680c074c8c4592af7 (commit)
       via  fec6265dfb087ecc8a26a9d8917bcd05bb4b1860 (commit)
       via  7458e696b5563f64e4da81ae95f88c7f36896ab8 (commit)
      from  9205d5d6fd20ad78918b44100063ade0b1374ede (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=d7b4254cbf5f70d430e21f4f8ca90e354e251bac

commit d7b4254cbf5f70d430e21f4f8ca90e354e251bac
Merge: 9205d5d 29f8ff8
Author: Arnold D. Robbins <address@hidden>
Date:   Thu May 12 22:39:48 2016 +0300

    Merge branch 'gawk-4.1-stable'

diff --cc ChangeLog
index ff73db9,e066765..732d3ec
--- a/ChangeLog
+++ b/ChangeLog
@@@ -1,12 -1,21 +1,29 @@@
+ 2016-05-12         Arnold Robbins       <address@hidden>
+ 
+       * str_array.c (str_lookup): Remove MAYBE_NUM from subscript flags.
+       Bug reported by Andres Legarra <address@hidden>.
+ 
+       Unrelated: Fix issues with SIGPIPE. Reported by
+       Ian Jackson <address@hidden>.
+ 
+       * builtin.c (do_system): Reset/restore SIGPIPE to/from default around
+       call to system.
+       * io.c (redirect, gawk_popen [PIPES_SIMULATED]): Same.
+ 
 -
+ 2016-05-12  Eli Zaretskii  <address@hidden>
+ 
+       * nonposix.h: Add prototypes for Posix functions emulated in pc/*
+       files.
+ 
 +2016-05-09         Andrew J. Schorr     <address@hidden>
 +
 +      * interpret.h (r_interpret): Op_ext_builtin. No need to test whether
 +      op == Op_ext_builtin, since we wouldn't be here otherwise.
 +
 +2016-05-03         Andrew J. Schorr     <address@hidden>
 +
 +      * builtin.c (format_tree): Do not waste a byte at the end of a string.
 +
  2016-05-03         Andrew J. Schorr     <address@hidden>
  
        * builtin.c (format_tree): After the string has been rendered, use
diff --cc io.c
index b81ebf3,3f25ba9..7e97b95
--- a/io.c
+++ b/io.c
@@@ -900,12 -894,9 +900,15 @@@ redirect_string(const char *str, size_
                        (void) flush_io();
  
                        os_restore_mode(fileno(stdin));
+ #ifdef SIGPIPE
+                       signal(SIGPIPE, SIG_DFL);
+ #endif
 +                      /*
 +                       * Don't check failure_fatal; see input pipe below.
 +                       * Note that the failure happens upon failure to fork,
 +                       * using a non-existant program will still succeed the
 +                       * popen().
 +                       */
                        if ((rp->output.fp = popen(str, binmode("w"))) == NULL)
                                fatal(_("can't open pipe `%s' for output (%s)"),
                                                str, strerror(errno));
diff --cc test/Makefile.am
index ea48340,1d5f890..6399064
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@@ -921,8 -894,8 +924,10 @@@ EXTRA_DIST = 
        sclifin.ok \
        shadow.awk \
        shadow.ok \
 +      shadowbuiltin.awk \
 +      shadowbuiltin.ok \
+       sigpipe1.awk \
+       sigpipe1.ok \
        sort1.awk \
        sort1.ok \
        sortempty.awk \
diff --cc test/Makefile.in
index 7cbf800,bf1acc1..cc44371
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@@ -1178,8 -1151,8 +1181,10 @@@ EXTRA_DIST = 
        sclifin.ok \
        shadow.awk \
        shadow.ok \
 +      shadowbuiltin.awk \
 +      shadowbuiltin.ok \
+       sigpipe1.awk \
+       sigpipe1.ok \
        sort1.awk \
        sort1.ok \
        sortempty.awk \

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

Summary of changes:
 ChangeLog          |   17 +++++++++
 builtin.c          |    8 +++++
 io.c               |   15 ++++++++
 nonposix.h         |   18 ++++++++++
 pc/ChangeLog       |    4 +++
 pc/Makefile        |    2 +-
 str_array.c        |    9 +++++
 test/ChangeLog     |    7 ++++
 test/Makefile.am   |    9 +++--
 test/Makefile.in   |   19 ++++++++--
 test/Maketests     |   10 ++++++
 test/arrayind1.awk |   99 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 test/arrayind1.in  |    2 ++
 test/arrayind1.ok  |    9 +++++
 test/sigpipe1.awk  |   13 +++++++
 test/sigpipe1.ok   |    3 ++
 16 files changed, 239 insertions(+), 5 deletions(-)
 create mode 100755 test/arrayind1.awk
 create mode 100644 test/arrayind1.in
 create mode 100644 test/arrayind1.ok
 create mode 100644 test/sigpipe1.awk
 create mode 100644 test/sigpipe1.ok


hooks/post-receive
-- 
gawk



reply via email to

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