summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-26 01:59:42 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-26 01:59:42 +0000
commitf573bcd1293fcfd59528f2396b838769c2894a92 (patch)
tree5b7736bafb3de1509f8e3b721438617537b4a7d9 /io.c
parent67331f24977410b5a5dc622ef994c4de5cf5cc21 (diff)
* MANIFEST: add vms/config.h and remove vms/config.h_in.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index ae47c73867..b4f46dacc4 100644
--- a/io.c
+++ b/io.c
@@ -1347,8 +1347,8 @@ fptr_finalize(fptr, noraise)
if (fptr->f2) {
f2 = fileno(fptr->f2);
while ((n2 = fclose(fptr->f2)) < 0) {
+ e = errno;
if (!rb_io_wait_writable(f2)) {
- e = errno;
break;
}
if (!fptr->f2) break;