From 39138de63889a40662461aeca6ac146ccaef90ab Mon Sep 17 00:00:00 2001 From: John Malmberg Date: Tue, 26 Jan 2016 07:59:56 -0600 Subject: VMS needs to close 2 files when out of file numbers --- io.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'io.c') diff --git a/io.c b/io.c index 8b95b3f1..d700d87a 100644 --- a/io.c +++ b/io.c @@ -1001,8 +1001,10 @@ redirect(NODE *redir_exp, int redirtype, int *errflg) (vaxc$errno == SS$_EXQUOTA || vaxc$errno == SS$_EXBYTLM || vaxc$errno == RMS$_ACC || - vaxc$errno == RMS$_SYN)) + vaxc$errno == RMS$_SYN)) { close_one(); + close_one(); + } #endif else { /* -- cgit v1.2.3 From e014f3b24e02d746a3982f3061796569ff294a03 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 27 Jan 2016 20:45:38 +0200 Subject: Remove special support for AIX; should work normally. --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io.c') diff --git a/io.c b/io.c index 6d898dd6..d618181d 100644 --- a/io.c +++ b/io.c @@ -190,7 +190,7 @@ #define setsid() /* nothing */ #endif /* HAVE_SETSID */ -#if defined(GAWK_AIX) +#if defined(_AIX) #undef TANDEM /* AIX defines this in one of its header files */ #endif -- cgit v1.2.3