diff options
author | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2021-12-07 12:00:22 -0500 |
---|---|---|
committer | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2021-12-07 12:00:22 -0500 |
commit | e03c8822c48bedfe6cc7fbd5a9382d9630de6494 (patch) | |
tree | fc65ceddd8e959ccd6c6bb041ee5061262e89c0d /test/iolint.awk | |
parent | 7d8a75a766b17fe395c0a82050d314c2dea57f3e (diff) | |
download | egawk-e03c8822c48bedfe6cc7fbd5a9382d9630de6494.tar.gz egawk-e03c8822c48bedfe6cc7fbd5a9382d9630de6494.tar.bz2 egawk-e03c8822c48bedfe6cc7fbd5a9382d9630de6494.zip |
Reorder statements in iolint to try to eliminate a race condition.
Diffstat (limited to 'test/iolint.awk')
-rw-r--r-- | test/iolint.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/iolint.awk b/test/iolint.awk index 042f743b..3ebaf436 100644 --- a/test/iolint.awk +++ b/test/iolint.awk @@ -49,8 +49,8 @@ BEGIN { # `%.*s' used for output pipe and two-way pipe # Not doing |& due to race condition and signals. sigh cat = "cat" - print "hello" | "cat" print "/bin/cat \"$@\"" > "cat" + print "hello" | "cat" print close("cat") print close("cat") fflush() |