summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--MANIFEST2
-rw-r--r--io.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 403fbc743..b67667159 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Dec 26 10:58:58 2003 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * MANIFEST: add vms/config.h and remove vms/config.h_in.
+
Thu Dec 26 10:42:00 2003 AKIYOSHI, Masamichi <masamichi.akiyoshi@hp.com>
* io.c: [VMS] "rfm=stmlf" is specified for open() and fopen().
diff --git a/MANIFEST b/MANIFEST
index bdb0afa74..c969de85a 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -807,7 +807,7 @@ test/xsd/test_xmlschemaparser.rb
test/xsd/test_xsd.rb
test/xsd/xmlschema.xml
test/yaml/test_yaml.rb
-vms/config.h_in
+vms/config.h
vms/vms.h
win32/Makefile.sub
win32/README.win32
diff --git a/io.c b/io.c
index ae47c7386..b4f46dacc 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;