normal
|
9bb7dfa247
|
normalize reference to Timeout::Error
From: John Bachir <j@jjb.cc>
* bootstraptest/test_io.rb (assert_finish):
normalize rescue for Timeout::Error
* lib/net/ftp.rb (Net#read_timeout): ditto for doc
* lib/resolv.rb (Resolv::ResolvTimeout): ditto for subclass
* lib/webrick/httprequest.rb (_read_data): ditto for rescue
* sample/timeout.rb (p timeout): ditto for call
* test/drb/drbtest.rb (test_06_timeout): ditto
* test/ruby/test_readpartial.rb (test_open_pipe): ditto
* test/thread/test_queue.rb (test_queue_thread_raise): ditto
* thread.c (rb_thread_s_handle_interrupt): ditto for doc
[ruby-core:65481] [misc #10339]
TimeoutError is a legacy constant, Timeout::Error is the canonical constant.
This patch normalizes all code and comments to reference Timeout::Error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2014-10-07 20:00:09 +00:00 |
|
nobu
|
fe39ce87dd
|
* test/ruby/test_readpartial.rb (make_pipe): readpartial does not
work in text mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2009-02-02 23:21:10 +00:00 |
|
nobu
|
00b4a3f9c4
|
* test: assert_raises has been deprecated since a long time ago.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2008-09-24 17:44:39 +00:00 |
|
ko1
|
5ab816f7f7
|
* test/ruby/test_readpartial.rb: tests are working on mswin32/cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2007-02-09 02:07:34 +00:00 |
|
ko1
|
a3e1b1ce7e
|
* Merge YARV
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2006-12-31 15:02:22 +00:00 |
|
ocean
|
bf4e0d7353
|
* test/ruby/test_readpartial.rb (test_open_pipe, test_with_stdio):
these tests are working now, so turned on. (windows)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2005-09-17 05:57:53 +00:00 |
|
akr
|
16b5ba2707
|
update readpartial document.
don't try read timeout on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2005-01-08 18:18:36 +00:00 |
|
akr
|
4339612a14
|
check constants (Fcntl::F_SETFL, Fcntl::F_GETFL and Fcntl::O_NONBLOCK)
instead of trapping NotImplementedError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2004-08-16 05:07:49 +00:00 |
|
akr
|
e2e305605d
|
rescue NotImplementedError by fcntl.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2004-08-16 05:01:26 +00:00 |
|
akr
|
0e104131b8
|
add test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2004-08-11 16:59:31 +00:00 |
|