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-1606-g89debf


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-1606-g89debf6
Date: Thu, 14 Jan 2016 18:55:21 +0000

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  89debf61f879b626438f818b08abda4d2874c50f (commit)
       via  51fd7a034cb931b730d98e513a37240d1696bcc4 (commit)
       via  fec67185e69458b550c5f8c8591176d715134e33 (commit)
       via  ba6d9c427ffa59b7cfc586ad7307f8350390e66c (commit)
      from  f6d1d7cd12cfdf953ecfe387e8d120cc48ae9a57 (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=89debf61f879b626438f818b08abda4d2874c50f

commit 89debf61f879b626438f818b08abda4d2874c50f
Author: Arnold D. Robbins <address@hidden>
Date:   Thu Jan 14 20:55:09 2016 +0200

    Man page fixes.

diff --git a/doc/ChangeLog b/doc/ChangeLog
index c4d35b3..7bffb2a 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -2,6 +2,12 @@
 
        * ChangeLog: Remove spurious whitespace.
 
+       Unrelated:
+
+       * gawk.1: Restore test on PROCINFO["RETRY"] and fix up the
+       formatting while we're at it. Thanks to Andrew Schorr for
+       pointing out the problem.
+
 2016-01-13         Arnold D. Robbins     <address@hidden>
 
        * gawktexi.in (Array Sorting Functions): Add an example of
diff --git a/doc/gawk.1 b/doc/gawk.1
index b5dc906..34c9f41 100644
--- a/doc/gawk.1
+++ b/doc/gawk.1
@@ -13,7 +13,7 @@
 .              if \w'\(rq' .ds rq "\(rq
 .      \}
 .\}
-.TH GAWK 1 "Dec 20 2015" "Free Software Foundation" "Utility Commands"
+.TH GAWK 1 "Jan 14 2016" "Free Software Foundation" "Utility Commands"
 .SH NAME
 gawk \- pattern scanning and processing language
 .SH SYNOPSIS
@@ -1138,7 +1138,7 @@ knows about the identifiers after it has finished parsing 
the program; they are
 updated while the program runs.
 For each identifier, the value of the element is one of the following:
 .RS
-.TP
+.TP \w'\fB"extension"\fR'u+1n
 \fB"array"\fR
 The identifier is an array.
 .TP
@@ -1223,12 +1223,12 @@ behavior:
 .TP
 \fBPROCINFO["NONFATAL"]\fR
 If this exists, then I/O errors for all output redirections become nonfatal.
+.TP
+\fBPROCINFO["\fIoutput_command\fB", "NONFATAL"]\fR
 Make output errors for
 .I output_name
 be nonfatal.
 .TP
-\fBPROCINFO["\fIoutput_command\fB", "NONFATAL"]\fR
-.TP
 \fBPROCINFO["\fIcommand\fB", "pty"]\fR
 Use a pseudo-tty for two-way communication with
 .I command
@@ -1242,6 +1242,23 @@ where
 is a redirection string or a filename. A value of zero or
 less than zero means no timeout.
 .TP
+\fBPROCINFO["\fIinput\^\fB", "RETRY"]\fR
+If an I/O error that may be retried occurs when reading data from
+.IR input ,
+and this array entry exists, then
+.B getline
+will return \-2 instead of following the default behavior of returning \-1
+and configuring
+.IR input
+to return no further data.
+An I/O error that may be retried is one where
+.IR errno (3)
+has the value EAGAIN, EWOULDBLOCK, EINTR, or ETIMEDOUT.
+This may be useful in conjunction with
+\fBPROCINFO["\fIinput\^\fB", "READ_TIMEOUT"]\fR
+or situations where a file descriptor has been configured to behave in a
+non-blocking fashion.
+.TP
 \fBPROCINFO["sorted_in"]\fP
 If this element exists in
 .BR PROCINFO ,
@@ -1262,7 +1279,9 @@ Supported values are
 \fB"@val_num_desc"\fR,
 and
 \fB"@unsorted"\fR.
-The value can also be the name of any comparison function defined
+The value can also be the name (as a
+.IR string )
+of any comparison function defined
 as follows:
 .sp
 .in +5m
@@ -2315,7 +2334,7 @@ command returns 1 on success, 0 on end of file, and \-1 
on an error.
 If the
 .IR errno (3)
 value indicates that the I/O operation may be retried,
-and \fBPROCINFO["input", "RETRY"]\fP
+and \fBPROCINFO["\fIinput\^\fP", "RETRY"]\fR
 is set, then \-2 will be returned instead of \-1, and further calls to
 .B getline
 may be attempted.
@@ -4032,7 +4051,7 @@ We thank him.
 .SH COPYING PERMISSIONS
 Copyright \(co 1989, 1991, 1992, 1993, 1994, 1995, 1996,
 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2007, 2009,
-2010, 2011, 2012, 2013, 2014
+2010, 2011, 2012, 2013, 2014, 2015, 2016
 Free Software Foundation, Inc.
 .PP
 Permission is granted to make and distribute verbatim copies of

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=51fd7a034cb931b730d98e513a37240d1696bcc4

commit 51fd7a034cb931b730d98e513a37240d1696bcc4
Merge: f6d1d7c fec6718
Author: Arnold D. Robbins <address@hidden>
Date:   Thu Jan 14 20:53:39 2016 +0200

    Merge branch 'gawk-4.1-stable'

diff --cc ChangeLog
index b9cffed,c406b13..bf25732
--- a/ChangeLog
+++ b/ChangeLog
@@@ -1,9 -1,14 +1,20 @@@
+ 2016-01-14         Arnold D. Robbins     <address@hidden>
+ 
+       * eval.c (r_get_lhs): If original array was Node_var_new,
+       assign value that is dupnode of Nnull_string and not
+       Nnull_string directly. Fixes core dump reported by
+       ruyk <address@hidden>.
+ 
+       Unrelated:
+ 
+       * ChangeLog: Cleanup spurious extra whitespace.
+ 
 +2016-01-03         Arnold D. Robbins     <address@hidden>
 +
 +      * configure.ac (GAWK_AC_LINUX_ALPHA): Remove call.
 +      * configure: Regenerated.
 +      * NEWS: Document removal of support for GNU/Linux on Alpha.
 +
  2016-01-02         Arnold D. Robbins     <address@hidden>
  
        * dfa.c (add_utf8_anychar): Minor change in declaration of
@@@ -55,15 -55,9 +66,15 @@@
        is false. Fixes a problem reported by Hanno Boeck <address@hidden>.
  
        Unrelated:
-       
+ 
        * dfa.c: Sync with GNU grep.
  
 +2015-10-25         Arnold D. Robbins     <address@hidden>
 +
 +      * awkgram.y (yylex): Fix invalid write problems.
 +      Reported by Hanno Boeck <address@hidden>.
 +      Only appeared in master. Harumph.
 +
  2015-10-16         Arnold D. Robbins     <address@hidden>
  
        * Makefile.am (SUBDIRS): Fix ordering so that
diff --cc test/ChangeLog
index d18c617,56edb8f..b05c289
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@@ -1,7 -1,14 +1,16 @@@
+ 2016-01-14         Arnold D. Robbins     <address@hidden>
+ 
+       * Makefile.am (aryprm9): New test.
+       * aryprm9.awk, aryprm9.ok: New files.
+ 
+       Unrelated:
+ 
+       * ChangeLog: Remove spurious whitespace.
+ 
  2015-12-27         Arnold D. Robbins     <address@hidden>
  
 +      These came in from gawk-4.1-stable:
 +
        * Makefile.am (profile8): New test.
        * profile8.awk, profile8.ok: New files.
  

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

Summary of changes:
 ChangeLog                         |   43 +++++++++++++++++++++++-------------
 doc/ChangeLog                     |   16 +++++++++++--
 doc/gawk.1                        |   33 ++++++++++++++++++++++------
 eval.c                            |    2 +-
 test/ChangeLog                    |   11 ++++++++-
 test/Makefile.am                  |    4 ++-
 test/Makefile.in                  |    9 +++++++-
 test/Maketests                    |    5 ++++
 test/aryprm9.awk                  |   16 +++++++++++++
 test/{arrayprm2.ok => aryprm9.ok} |    0
 10 files changed, 109 insertions(+), 30 deletions(-)
 create mode 100644 test/aryprm9.awk
 copy test/{arrayprm2.ok => aryprm9.ok} (100%)


hooks/post-receive
-- 
gawk



reply via email to

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