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 | |
| parent | 81309b1304205eb26f3e3c68b4707bf14248193d (diff) | |
* 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
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | io.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Thu Jan 13 04:48:53 2005 Tanaka Akira <akr@m17n.org> + + * io.c (io_fread): don't warn nonblocking behavior by default. + Wed Jan 12 00:36:29 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> * object.c (rb_class_superclass): superclass of singleton class also @@ -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; |
