diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-01-12 19:50:29 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-01-12 19:50:29 +0000 |
commit | 8ef1efc90c9fbb82b3fbb7a5277a738762504785 (patch) | |
tree | 1740c62cacf01871399d24bc4de9e3daf6750244 /io.c | |
parent | b0c8a90c6a59a854704678374716ec28ca443eb9 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |