diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-03-25 22:56:45 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-03-25 22:56:45 +0300 |
commit | c33f1c6537e0fbb1661ada8425e615b0316fad9c (patch) | |
tree | c2ad1bbb8938cf7a196d15dc514956126799cfdd /io.c | |
parent | 95c4e8223bb8115488662a7cf2ee2632bc5c6a18 (diff) | |
parent | d37c160b819d3a828fac6ed037e835158ac23c85 (diff) | |
download | egawk-c33f1c6537e0fbb1661ada8425e615b0316fad9c.tar.gz egawk-c33f1c6537e0fbb1661ada8425e615b0316fad9c.tar.bz2 egawk-c33f1c6537e0fbb1661ada8425e615b0316fad9c.zip |
Merge branch 'master' into feature/stringfix
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)."), |