aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-12-18 19:57:34 +0200
committerArnold D. Robbins <arnold@skeeve.com>2010-12-18 19:57:34 +0200
commitdd4d686a4181448171114d6fc6f4f8ae58394e16 (patch)
tree4be38745cded68c77176199f6ec11f22cdc58c04 /io.c
parent7cc023ae0a685fe10e2ffadd84b5c7ec3ee28241 (diff)
downloadegawk-dd4d686a4181448171114d6fc6f4f8ae58394e16.tar.gz
egawk-dd4d686a4181448171114d6fc6f4f8ae58394e16.tar.bz2
egawk-dd4d686a4181448171114d6fc6f4f8ae58394e16.zip
Remove old code for Cray.
Diffstat (limited to 'io.c')
-rw-r--r--io.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/io.c b/io.c
index 687c9eaf..2b2c8561 100644
--- a/io.c
+++ b/io.c
@@ -447,12 +447,6 @@ iop_close(IOBUF *iop)
iop->flag &= ~IOP_AT_EOF;
iop->flag |= IOP_CLOSED; /* there may be dangling pointers */
iop->dataend = NULL;
-#ifdef _CRAY
- /* Work around bug in UNICOS popen */
- if (iop->fd < 3)
- ret = 0;
- else
-#endif
/* Don't close standard files or else crufty code elsewhere will lose */
/* FIXME: *DO* close it. Just reopen on an invalid handle. */
if (iop->fd == fileno(stdin)