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-2453-gd37c16


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-2453-gd37c160
Date: Sat, 25 Mar 2017 15:55:35 -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, master has been updated
       via  d37c160b819d3a828fac6ed037e835158ac23c85 (commit)
      from  bc97284df48d79d57450aae746c08f8d55d3a57a (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=d37c160b819d3a828fac6ed037e835158ac23c85

commit d37c160b819d3a828fac6ed037e835158ac23c85
Author: Arnold D. Robbins <address@hidden>
Date:   Sat Mar 25 22:55:06 2017 +0300

    Small improvement in io.c:flush_io.

diff --git a/ChangeLog b/ChangeLog
index ae69b7e..d84b38c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-03-25         Arnold D. Robbins     <address@hidden>
+
+       * io.c (flush_io): Use r_fatal and r_warning for messagefunc
+       in the loop.
+
 2017-03-24         Arnold D. Robbins     <address@hidden>
 
        * builtin.c (efwrite): Exit successfully upon EPIPE, as SIGPIPE
diff --git a/io.c b/io.c
index 00a0ba3..fa9225c 100644
--- a/io.c
+++ b/io.c
@@ -1438,7 +1438,7 @@ flush_io()
 
        // now for all open redirections
        for (rp = red_head; rp != NULL; rp = rp->next) {
-               void (*messagefunc)(const char *mesg, ...) = fatal;
+               void (*messagefunc)(const char *mesg, ...) = r_fatal;
 
                /* flush both files and pipes, what the heck */
                if ((rp->flag & RED_WRITE) != 0 && rp->output.fp != NULL) {
@@ -1446,7 +1446,7 @@ flush_io()
                                update_ERRNO_int(errno);
 
                                if (is_non_fatal_redirect(rp->value, 
strlen(rp->value)))
-                                       messagefunc = warning;
+                                       messagefunc = r_warning;
 
                                if ((rp->flag & RED_PIPE) != 0)
                                        messagefunc(_("pipe flush of `%s' 
failed (%s)."),

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

Summary of changes:
 ChangeLog | 5 +++++
 io.c      | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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