aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:59:03 +0300
committerArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:59:03 +0300
commitb9e4a1fd4c8c8753ab8a9887bab55f03efe1e3e2 (patch)
treee6f86edd2f661aff2cd81eb4d4a54fa86fd4fe60 /io.c
parent3ca7f0b16d0a5c105380b284a81c6a1b2c210908 (diff)
downloadegawk-b9e4a1fd4c8c8753ab8a9887bab55f03efe1e3e2.tar.gz
egawk-b9e4a1fd4c8c8753ab8a9887bab55f03efe1e3e2.tar.bz2
egawk-b9e4a1fd4c8c8753ab8a9887bab55f03efe1e3e2.zip
Move to gawk-3.0.6.
Diffstat (limited to 'io.c')
-rw-r--r--io.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/io.c b/io.c
index 69c87840..5023b977 100644
--- a/io.c
+++ b/io.c
@@ -498,6 +498,13 @@ int *errflg;
else if (errno == 0) /* HACK! */
close_one();
#endif
+#ifdef VMS
+ /* Alpha/VMS V7.1's C RTL is returning this instead
+ of EMFILE (haven't tried other post-V6.2 systems) */
+#define SS$_EXQUOTA 0x001C
+ else if (errno == EIO && vaxc$errno == SS$_EXQUOTA)
+ close_one();
+#endif
else {
/*
* Some other reason for failure.