summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-01-12 19:50:29 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-01-12 19:50:29 +0000
commit8ef1efc90c9fbb82b3fbb7a5277a738762504785 (patch)
tree1740c62cacf01871399d24bc4de9e3daf6750244 /io.c
parentb0c8a90c6a59a854704678374716ec28ca443eb9 (diff)
* io.c (io_fread): don't warn nonblocking behavior by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7770 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 bd2a9bb..1085e81 100644
--- a/io.c
+++ b/io.c
@@ -1005,7 +1005,7 @@ io_fread(ptr, len, fptr)
clearerr(fptr->f);
}
saved_errno = errno;
- rb_warn("nonblocking IO#read is obsolete; use IO#readpartial or IO#sysread");
+ rb_warning("nonblocking IO#read is obsolete; use IO#readpartial or IO#sysread");
errno = saved_errno;
}
if (len == n) return 0;