aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-05-25 01:43:45 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-05-25 01:43:45 +0300
commitba348b201104958c73ca6b5bf9d1f7c5a28dce53 (patch)
treef5b83336ada0aa3278db41b32634e392ecf902b8
parent44d5655584bfa914c127f177919a7069e6cff841 (diff)
parentf193c48ab7d8da7e4d236f6f6570684f1fd612ba (diff)
downloadegawk-ba348b201104958c73ca6b5bf9d1f7c5a28dce53.tar.gz
egawk-ba348b201104958c73ca6b5bf9d1f7c5a28dce53.tar.bz2
egawk-ba348b201104958c73ca6b5bf9d1f7c5a28dce53.zip
Merge branch 'gawk-4.1-stable'
-rw-r--r--test/ChangeLog5
-rwxr-xr-xtest/arrayind1.awk2
2 files changed, 7 insertions, 0 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index 096f9050..c395fc69 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2016-05-25 Arnold D. Robbins <arnold@skeeve.com>
+
+ * arrayind1.awk: Flush writes to stderr. We hope this helps
+ with the MinGW version.
+
2016-05-12 Arnold D. Robbins <arnold@skeeve.com>
* Makefile.am (arrayind1): New test.
diff --git a/test/arrayind1.awk b/test/arrayind1.awk
index 29fe80bc..fc3683f0 100755
--- a/test/arrayind1.awk
+++ b/test/arrayind1.awk
@@ -85,6 +85,7 @@ END{
iter++
#-->
printf("%s%16s\n","in the loop: ",posout["00000779770060"]) > "/dev/stderr"
+ fflush("/dev/stderr")
#-->
#printf("%10s%10s%10s%10s%16s%16s\n","round",iter,"included",posout[last],"last ",last) > "/dev/stderr"
}
@@ -95,5 +96,6 @@ END{
}
#--> this is the guilty line
printf("%s%16s\n","at the end: ",posout["00000779770060"]) > "/dev/stderr"
+ fflush("/dev/stderr")
#-->
}