From 8ef1efc90c9fbb82b3fbb7a5277a738762504785 Mon Sep 17 00:00:00 2001 From: akr Date: Wed, 12 Jan 2005 19:50:29 +0000 Subject: * 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 --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io.c') diff --git a/io.c b/io.c index bd2a9bba41..1085e81c54 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; -- cgit v1.2.3