aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-05-25 01:43:55 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-05-25 01:43:55 +0300
commit410555b0eb3330a7af6a54f539826b5ed0dc6e6a (patch)
tree0e5c12133fd39881b7e72bd8952efaba4bef63a2
parent827b8732b5b558c5aa5e6c5d5c1198e49b90b66f (diff)
parentba348b201104958c73ca6b5bf9d1f7c5a28dce53 (diff)
downloadegawk-410555b0eb3330a7af6a54f539826b5ed0dc6e6a.tar.gz
egawk-410555b0eb3330a7af6a54f539826b5ed0dc6e6a.tar.bz2
egawk-410555b0eb3330a7af6a54f539826b5ed0dc6e6a.zip
Merge branch 'master' into feature/cmake
-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")
#-->
}