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-2811-g6b459d


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-2811-g6b459d9
Date: Thu, 12 Oct 2017 15:09:22 -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  6b459d91405cd9e2306e9b32d24ed1fcacc52f7c (commit)
       via  547934dee2170f77c81a327c8e1b9e870938fa8b (commit)
      from  1a240b4ec47d919c328f682c0594a1cab4588aba (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=6b459d91405cd9e2306e9b32d24ed1fcacc52f7c

commit 6b459d91405cd9e2306e9b32d24ed1fcacc52f7c
Author: Arnold D. Robbins <address@hidden>
Date:   Thu Oct 12 22:09:00 2017 +0300

    Fix fork and fork2 tests for OS/2.

diff --git a/test/ChangeLog b/test/ChangeLog
index 33d59ee..4f79460 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2017-10-12         Arnold D. Robbins     <address@hidden>
+
+       * fork.awk: Close the file in the parent after reading it.
+       * fork2.awk: Ditto.
+
 2017-10-08         Arnold D. Robbins     <address@hidden>
 
        * Makefile.am (randtest): Minor fix from Andreas for OS/2.
diff --git a/test/fork.awk b/test/fork.awk
index 0b29f9f..af608ad 100644
--- a/test/fork.awk
+++ b/test/fork.awk
@@ -20,6 +20,7 @@ BEGIN {
       else if ((getline x < fn) != 1)
         printf "Error: getline failed on temp file %s\n", fn
       else {
+        close(fn)      # required on non-POSIX systems
         expected = ("pid " pid " ppid " PROCINFO["pid"])
         if (x != expected)
            printf "Error: child data (%s) != expected (%s)\n", x, expected
diff --git a/test/fork2.awk b/test/fork2.awk
index bd36428..a8ae562 100644
--- a/test/fork2.awk
+++ b/test/fork2.awk
@@ -22,6 +22,7 @@ BEGIN {
       else if ((getline x < fn) != 1)
         printf "Error: getline failed on temp file %s\n", fn
       else {
+        close(fn)      # needed on non-POSIX systems
         expected = ("pid " pid " ppid " PROCINFO["pid"])
         if (x != expected)
            printf "Error: child data (%s) != expected (%s)\n", x, expected

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=547934dee2170f77c81a327c8e1b9e870938fa8b

commit 547934dee2170f77c81a327c8e1b9e870938fa8b
Author: Arnold D. Robbins <address@hidden>
Date:   Thu Oct 12 22:08:40 2017 +0300

    Update Italian translation.

diff --git a/doc/it/ChangeLog b/doc/it/ChangeLog
index 3c5fc79..b5dc98a 100644
--- a/doc/it/ChangeLog
+++ b/doc/it/ChangeLog
@@ -1,3 +1,7 @@
+2017-10-12         Antonio Giovanni Colombo   <address@hidden>
+
+       * gawktexi.in: Italian translation updated.
+
 2017-10-08         Antonio Giovanni Colombo   <address@hidden>
 
        * gawktexi.in: Italian translation updated.
diff --git a/doc/it/gawktexi.in b/doc/it/gawktexi.in
index e8038d1..a762d0e 100755
--- a/doc/it/gawktexi.in
+++ b/doc/it/gawktexi.in
@@ -13224,6 +13224,11 @@ A partire dalla @value{PVERSION} 4.2, @command{gawk} 
continua a usare
 l'ordine di collazione locale per @code{<}, @code{<=}, @code{>}
 e @code{>=} solo se eseguito nella address@hidden POSIX.
 
address@hidden
+References: http://austingroupbugs.net/view.php?id=963
+and http://austingroupbugs.net/view.php?id=1070.
address@hidden ignore
+
 @node Operatori booleani
 @subsection Espressioni booleane
 @cindex @dfn{and}, operatore logico-booleano
@@ -22962,14 +22967,14 @@ come un'unica stringa. Un modo chiaro e semplice per 
far address@hidden potrebbe essere
 questo:
 
 @example
-function readfile(file,    temp, contenuto)
+function readfile1(file,    temp, contenuto)
 @{
     if ((getline temp < file) < 0)
         return
 
-    contenuto = temp
-    while (getline temp < file) > 0)
-        contenuto = contenuto RT tmp
+    contenuto = temp RT
+    while ((getline temp < file) > 0)
+        contenuto = contenuto temp RT
 
     close(file)
     return contenuto

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

Summary of changes:
 doc/it/ChangeLog   |  4 ++++
 doc/it/gawktexi.in | 13 +++++++++----
 test/ChangeLog     |  5 +++++
 test/fork.awk      |  1 +
 test/fork2.awk     |  1 +
 5 files changed, 20 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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