aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-12-16 22:44:18 +0200
committerArnold D. Robbins <arnold@skeeve.com>2015-12-16 22:44:18 +0200
commitbd7c886600d3abbd233d527eff836456291620a0 (patch)
tree0f52a16b72d171f6a9a9cb6578cd7b470f4a7d47 /io.c
parentedbc856be17c8d0a1b3ae8d7a2e6007f44bbb192 (diff)
downloadegawk-bd7c886600d3abbd233d527eff836456291620a0.tar.gz
egawk-bd7c886600d3abbd233d527eff836456291620a0.tar.bz2
egawk-bd7c886600d3abbd233d527eff836456291620a0.zip
Additional fix to two_way_open.
Diffstat (limited to 'io.c')
-rw-r--r--io.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/io.c b/io.c
index 2249a2d8..8b95b3f1 100644
--- a/io.c
+++ b/io.c
@@ -1974,7 +1974,6 @@ two_way_open(const char *str, struct redirect *rp)
case -1:
save_errno = errno;
close(master);
- close(slave);
errno = save_errno;
return false;