ruby/sample
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
..
drb * lib/drb/acl.rb: split executable code into sample directory. 2014-08-21 04:23:43 +00:00
logger fix typos inspired by r40825 2013-05-19 14:50:47 +00:00
openssl * sample/*: whitespace patch by Sergio Campama [Fixes GH-364] 2013-07-20 13:41:02 +00:00
optparse opttest.rb: adust styles 2013-07-21 17:27:40 +00:00
pty * lib/cgi.rb: [DOC] Capitalize "Ruby" in documentation [Fixes GH-341] 2013-07-18 13:50:32 +00:00
rdoc/markup
ripper
rss * remove trailing spaces. 2011-05-15 11:55:52 +00:00
testunit
trick2013 * remove trailing spaces, append newline at EOF. 2013-12-25 03:46:08 +00:00
webrick * ext/pathname/lib/pathname.rb: Fix typos and grammar mistakes. Patch 2011-08-26 22:22:37 +00:00
README remove trailing spaces 2012-08-11 08:02:43 +00:00
benchmark.rb * lib/benchmark.rb: split executable code into sample directory. 2014-07-23 19:45:09 +00:00
biorhythm.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
cal.rb * sample/*: whitespace patch by Sergio Campama [Fixes GH-364] 2013-07-20 13:41:02 +00:00
cbreak.rb
cgi-session-pstore.rb sample: use IO::NULL 2014-08-10 02:41:03 +00:00
clnt.rb
coverage.rb * sample/*: whitespace patch by Sergio Campama [Fixes GH-364] 2013-07-20 13:41:02 +00:00
delegate.rb * lib/delegate.rb: split executable code into sample directory. 2014-07-26 17:11:56 +00:00
dir.rb
dualstack-fetch.rb * sample/*: whitespace patch by Sergio Campama [Fixes GH-364] 2013-07-20 13:41:02 +00:00
dualstack-httpd.rb * sample/*: whitespace patch by Sergio Campama [Fixes GH-364] 2013-07-20 13:41:02 +00:00
eval.rb
export.rb
exyacc.rb * sample/exyacc.rb: Fix typo in a variable name 2013-12-16 10:09:10 +00:00
fact.rb
fib.awk * sample/*: whitespace patch by Sergio Campama [Fixes GH-364] 2013-07-20 13:41:02 +00:00
fib.pl * sample/*: whitespace patch by Sergio Campama [Fixes GH-364] 2013-07-20 13:41:02 +00:00
fib.py
fib.rb
fib.scm * sample/*: whitespace patch by Sergio Campama [Fixes GH-364] 2013-07-20 13:41:02 +00:00
freq.rb fix typo by @daveworth [fix GH-340] 2013-06-25 08:49:36 +00:00
from.rb * sample/*: whitespace patch by Sergio Campama [Fixes GH-364] 2013-07-20 13:41:02 +00:00
fullpath.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
less.rb
list.rb * sample/list.rb (MyElem#initialize): initialize @head 2011-03-06 12:51:17 +00:00
list2.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
list3.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
mine.rb * sample/drb/dhasenc.rb: coding cookie of Emacs is coding, 2011-09-09 16:44:38 +00:00
mkproto.rb * sample/*: whitespace patch by Sergio Campama [Fixes GH-364] 2013-07-20 13:41:02 +00:00
mpart.rb
net-imap.rb * lib/net/imap.rb: split executable code into sample directory. 2014-08-21 03:40:42 +00:00
observ.rb * sample/*: whitespace patch by Sergio Campama [Fixes GH-364] 2013-07-20 13:41:02 +00:00
occur.pl * sample/*: whitespace patch by Sergio Campama [Fixes GH-364] 2013-07-20 13:41:02 +00:00
occur.rb fix typo by @daveworth [fix GH-340] 2013-06-25 08:49:36 +00:00
occur2.rb fix typo by @daveworth [fix GH-340] 2013-06-25 08:49:36 +00:00
open3.rb * lib/cgi/session/pstore.rb: separated sample code. 2014-08-10 01:34:50 +00:00
philos.rb
pi.rb
pstore.rb * lib/pstore.rb: split executable code into sample directory. 2014-07-23 19:31:18 +00:00
rcs.awk * sample/*: whitespace patch by Sergio Campama [Fixes GH-364] 2013-07-20 13:41:02 +00:00
rcs.dat
rcs.rb
rinda-ring.rb * lib/rinda/ring.rb: split executable code into sample directory. 2014-08-21 04:23:56 +00:00
sieve.rb
svr.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
tempfile.rb * lib/tempfile.rb: split executable code into sample directory. 2014-07-23 19:44:23 +00:00
test.rb * sample/test.rb: Make temporary file names unique. 2013-11-03 14:09:35 +00:00
time.rb
timeout.rb normalize reference to Timeout::Error 2014-10-07 20:00:09 +00:00
trojan.rb * sample/*: whitespace patch by Sergio Campama [Fixes GH-364] 2013-07-20 13:41:02 +00:00
tsvr.rb
uumerge.rb
weakref.rb * lib/weakref.rb: split executable code into sample directory. 2014-07-26 17:12:11 +00:00

README

README		this file
biorhythm.rb	biorhythm calculator
cal.rb		cal(1) clone
cbreak.rb	no echo done by ioctl
clnt.rb		socket client
coverage.rb	simple test code coverage tool
dir.rb		directory access
dualstack-fetch.rb	IPv6 demo
dualstack-httpd.rb	IPv6 demo
eval.rb		simple evaluator
export.rb	method access example
exyacc.rb	extrace BNF from yacc file
fact.rb		factorial calculator
fib.awk		Fibonacci number (AWK)
fib.pl		Fibonacci number (Perl)
fib.py		Fibonacci number (Python)
fib.rb		Fibonacci number (Ruby)
fib.scm		Fibonacci number (Scheme)
freq.rb		count word occurrence
from.rb		scan mail spool
fullpath.rb	convert ls -lR to fullpath format
less.rb		front end for less
list.rb		stupid object sample
list2.rb	stupid object sample
list3.rb	stupid object sample
mine.rb		simple mine sweeper
mkproto.rb	extract prototype from C
mpart.rb	split file int multi part
observ.rb	observer design pattern sample
occur.pl	count word occurrence (Perl)
occur.rb	count word occurrence (Ruby)
occur2.rb	count word occurrence - another style
philos.rb	famous dining philosophers
pi.rb		calculate PI
rcs.awk		random character stereogram (AWK)
rcs.rb		random character stereogram (Ruby)
rcs.dat		data for random character stereogram
sieve.rb	sieve of Eratosthenes
svr.rb		socket server
test.rb		test suite used by `make test'
time.rb		/usr/bin/time clone
timeout.rb	timeout test
trojan.rb	simple tool to find file that may be trojan horse.
tsvr.rb		socket server using thread
uumerge.rb	merge files and uudecode them