diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | builtin.c | 5 | ||||
-rw-r--r-- | doc/ChangeLog | 4 | ||||
-rw-r--r-- | doc/gawk.texi | 1 | ||||
-rw-r--r-- | doc/gawktexi.in | 1 |
5 files changed, 16 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2013-10-31 Arnold D. Robbins <arnold@skeeve.com> + + * builtin.c (efwrite): If write error to stdout is EPIPE, + die silently. Thanks to Hermann Peifer for helping find this. + 2013-10-22 Arnold D. Robbins <arnold@skeeve.com> Revise error messages when writing to standard output or standard @@ -125,6 +125,11 @@ efwrite(const void *ptr, return; wrerror: + /* die silently on EPIPE to stdout */ + if (fp == stdout && errno == EPIPE) + gawk_exit(EXIT_FATAL); + + /* otherwise die verbosely */ fatal(_("%s to \"%s\" failed (%s)"), from, rp ? rp->value : _("standard output"), errno ? strerror(errno) : _("reason unknown")); diff --git a/doc/ChangeLog b/doc/ChangeLog index 98919ca6..a0cbfb13 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,7 @@ +2013-10-31 Arnold D. Robbins <arnold@skeeve.com> + + * gawktexi.in: Add @shorttitlepage command. + 2013-10-25 Arnold D. Robbins <arnold@skeeve.com> * gawktexi.in (Contributors): Update with more info. diff --git a/doc/gawk.texi b/doc/gawk.texi index e1aeefc5..b651aa9c 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -194,6 +194,7 @@ supports it in developing GNU and promoting software freedom.'' @c during editing and review. @setchapternewpage odd +@shorttitlepage @value{TITLE} @titlepage @title @value{TITLE} @subtitle @value{SUBTITLE} diff --git a/doc/gawktexi.in b/doc/gawktexi.in index 2a6ea38a..9c30446e 100644 --- a/doc/gawktexi.in +++ b/doc/gawktexi.in @@ -189,6 +189,7 @@ supports it in developing GNU and promoting software freedom.'' @c during editing and review. @setchapternewpage odd +@shorttitlepage @value{TITLE} @titlepage @title @value{TITLE} @subtitle @value{SUBTITLE} |