summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-06-14 04:19:23 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-06-14 04:19:23 +0000
commitb810b14ed3df351601e0bcf85e4dcb5c335bede7 (patch)
tree89f99e2090247d186471b5203d6c1189efe1c7e6 /io.c
parent94c7a0fcb974888d61be1fe2ec7e19897f033d25 (diff)
2000-06-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_4@754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io.c b/io.c
index d33db2b3e8..86d8c0a327 100644
--- a/io.c
+++ b/io.c
@@ -583,7 +583,7 @@ rb_io_gets_internal(argc, argv, io)
TRAP_END;
if (c == EOF) {
if (ferror(f)) {
- ig (errno == EINTR) continue;
+ if (errno == EINTR) continue;
rb_sys_fail(fptr->path);
}
break;
@@ -673,7 +673,7 @@ rb_io_gets(io)
TRAP_END;
if (c == EOF) {
if (ferror(f)) {
- ig (errno == EINTR) continue;
+ if (errno == EINTR) continue;
rb_sys_fail(fptr->path);
}
break;