diff options
author | John Malmberg <wb8tyw@qsl.net> | 2016-01-26 07:59:56 -0600 |
---|---|---|
committer | John Malmberg <wb8tyw@qsl.net> | 2016-01-26 08:10:12 -0600 |
commit | 39138de63889a40662461aeca6ac146ccaef90ab (patch) | |
tree | dd1dbcb137ea6cf4814a84453dbafe5c54ae5cff | |
parent | 87da302710201b28fe757cde0bf6ef8078aaaed5 (diff) | |
download | egawk-39138de63889a40662461aeca6ac146ccaef90ab.tar.gz egawk-39138de63889a40662461aeca6ac146ccaef90ab.tar.bz2 egawk-39138de63889a40662461aeca6ac146ccaef90ab.zip |
VMS needs to close 2 files when out of file numbers
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | io.c | 4 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2016-01-25 John E. Malmberg <wb8tyw@qsl.net> + + * io.c (redirect): Need to call close_one more than once after + running out of file handles. + 2016-01-25 Arnold D. Robbins <arnold@skeeve.com> * NEWS: Document VMS support updated. @@ -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 { /* |