diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2013-11-01 11:05:30 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2013-11-01 11:05:30 +0200 |
commit | b3bb8a2bac657b6095e7a63c385c334e4329629c (patch) | |
tree | a27af8ab93435ba5a4e272489adcce32fddbd018 | |
parent | 8d6b9ebe7983bd45dc28819c40e2acdafcde2a70 (diff) | |
parent | 62c42c359af9b08180d25d3075a1b8ca5d52dee6 (diff) | |
download | egawk-b3bb8a2bac657b6095e7a63c385c334e4329629c.tar.gz egawk-b3bb8a2bac657b6095e7a63c385c334e4329629c.tar.bz2 egawk-b3bb8a2bac657b6095e7a63c385c334e4329629c.zip |
Merge branch 'gawk-4.1-stable'
-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} |