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 | f865c74c5ed407ee7354292267ac3aae16f22abc (patch) | |
| tree | 1740c62cacf01871399d24bc4de9e3daf6750244 /io.c | |
| parent | 81309b1304205eb26f3e3c68b4707bf14248193d (diff) | |
| download | ruby-f865c74c5ed407ee7354292267ac3aae16f22abc.tar.gz ruby-f865c74c5ed407ee7354292267ac3aae16f22abc.tar.xz ruby-f865c74c5ed407ee7354292267ac3aae16f22abc.zip | |
* io.c (io_fread): don't warn nonblocking behavior by default.
git-svn-id: http://svn.ruby-lang.org/repos/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; |
