diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-10-12 22:09:49 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-10-12 22:09:49 +0300 |
commit | 919ef69e86da9cbed3ba50c462e89313bb283e48 (patch) | |
tree | 3a3a2675e544dae74af2246f1c1c2d5c22c3d986 | |
parent | c7cdb2c4185e4e54e358534b612f08b83de2870e (diff) | |
parent | 6b459d91405cd9e2306e9b32d24ed1fcacc52f7c (diff) | |
download | egawk-919ef69e86da9cbed3ba50c462e89313bb283e48.tar.gz egawk-919ef69e86da9cbed3ba50c462e89313bb283e48.tar.bz2 egawk-919ef69e86da9cbed3ba50c462e89313bb283e48.zip |
Merge branch 'master' into feature/dev-5.0
-rw-r--r-- | README_d/ChangeLog | 4 | ||||
-rw-r--r-- | README_d/README.rpm | 16 | ||||
-rw-r--r-- | doc/it/ChangeLog | 4 | ||||
-rwxr-xr-x | doc/it/gawktexi.in | 13 | ||||
-rw-r--r-- | test/ChangeLog | 5 | ||||
-rw-r--r-- | test/fork.awk | 1 | ||||
-rw-r--r-- | test/fork2.awk | 1 |
7 files changed, 40 insertions, 4 deletions
diff --git a/README_d/ChangeLog b/README_d/ChangeLog index aff9ef95..8188817c 100644 --- a/README_d/ChangeLog +++ b/README_d/ChangeLog @@ -1,3 +1,7 @@ +2017-10-10 Arnold D. Robbins <arnold@skeeve.com> + + * README.rpm: New file. + 2017-09-04 Eli Zaretskii <eliz@gnu.org> * README.pc: Update instructions for building the extensions diff --git a/README_d/README.rpm b/README_d/README.rpm new file mode 100644 index 00000000..4b2831fd --- /dev/null +++ b/README_d/README.rpm @@ -0,0 +1,16 @@ +Tue Oct 10 20:58:29 IDT 2017 +============================ + +If you're interested in the RPM .spec file for gawk from the +Fedora project, you can find it at: + + https://src.fedoraproject.org/rpms/gawk/blob/master/f/gawk.spec + +This is very Fedora-specific; it would need work before it could +used in a more generic fashion, but it might be useful as a +starting point. + +Thanks to David Kaspar [Dee'Kej] <dkaspar@redhat.com> for the pointer. + +Arnold Robbins +arnold@skeeve.com diff --git a/doc/it/ChangeLog b/doc/it/ChangeLog index 3c5fc79d..b5dc98a5 100644 --- a/doc/it/ChangeLog +++ b/doc/it/ChangeLog @@ -1,3 +1,7 @@ +2017-10-12 Antonio Giovanni Colombo <azc100@gmail.com> + + * gawktexi.in: Italian translation updated. + 2017-10-08 Antonio Giovanni Colombo <azc100@gmail.com> * gawktexi.in: Italian translation updated. diff --git a/doc/it/gawktexi.in b/doc/it/gawktexi.in index e8038d1b..a762d0ef 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 modalit@`a POSIX. +@ignore +References: http://austingroupbugs.net/view.php?id=963 +and http://austingroupbugs.net/view.php?id=1070. +@end 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 ci@`o 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 diff --git a/test/ChangeLog b/test/ChangeLog index 33d59eee..4f79460f 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,8 @@ +2017-10-12 Arnold D. Robbins <arnold@skeeve.com> + + * fork.awk: Close the file in the parent after reading it. + * fork2.awk: Ditto. + 2017-10-08 Arnold D. Robbins <arnold@skeeve.com> * Makefile.am (randtest): Minor fix from Andreas for OS/2. diff --git a/test/fork.awk b/test/fork.awk index 0b29f9ff..af608ad5 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 bd364286..a8ae5622 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 |