1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib
nagachika a8acc95f4c merge revision(s) 54144,54699: [Backport #12139]
* lib/securerandom.rb (gen_random): to avoid blocking on Windows.
	  On Windows OpenSSL RAND_bytes (underlying implementation is
	  RAND_poll in crypto/rand/rand_win.c) may be blocked at
	  NetStatisticsGet.
	  https://wiki.openssl.org/index.php/Random_Numbers#Windows_Issues
	  Instead of this, use Random.raw_seed directory (whose implementation
	  CryptGenRandom is one of the source of
	  entropy of RAND_poll on Windows).
	  https://wiki.openssl.org/index.php/Random_Numbers
	  Note: CryptGenRandom function is PRNG and doesn't check its entropy,
	  so it won't block. [Bug #12139]
	  https://msdn.microsoft.com/ja-jp/library/windows/desktop/aa379942.aspx
	  https://tools.ietf.org/html/rfc4086#section-7.1.3
	  https://eprint.iacr.org/2007/419.pdf
	  http://www.cs.huji.ac.il/~dolev/pubs/thesis/msc-thesis-leo.pdf
	  Instead of this, use Random.raw_seed directly (whose implementation


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-22 15:30:27 +00:00
..
cgi cgi/escape: Optimize CGI.escapeHTML 2015-12-20 11:54:54 +00:00
drb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
irb merge revision(s) 54596: 2016-04-15 12:10:04 +00:00
matrix Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
net merge revision(s) 53810: [Backport #12044] 2016-03-29 07:29:20 +00:00
optparse Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
racc Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
rbconfig Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
rdoc * lib/rdoc.rb: bump version to 4.2.1. It contains following fixes. 2015-12-22 12:08:13 +00:00
rexml Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
rinda Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
rss Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
rubygems merge revision(s) 53419: [Backport #11940] 2016-04-05 15:33:58 +00:00
shell Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
unicode_normalize Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
uri merge revision(s) 54257: [Backport #12215] 2016-04-12 05:27:20 +00:00
webrick webrick/utils.rb: get rid of thread leak checker 2015-12-19 08:16:54 +00:00
xmlrpc merge revision(s) 53318: [Backport #11489] 2016-03-29 05:43:04 +00:00
yaml Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
abbrev.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
base64.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
benchmark.rb [DOC] Fix typos 2015-12-23 03:43:23 +00:00
cgi.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
cmath.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
csv.rb csv.rb: Fix typo [ci skip 2015-12-19 05:23:50 +00:00
debug.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
delegate.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
drb.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
e2mmap.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
English.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
erb.rb * lib/erb.rb: revert r53123. It break compatibility like thor and rspec-rails. 2015-12-20 06:36:57 +00:00
fileutils.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
find.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
forwardable.rb merge revision(s) 53382,53511,53512: [Backport #11916] 2016-04-22 15:24:35 +00:00
getoptlong.rb [DOC] Fix typos 2015-12-23 03:43:23 +00:00
ipaddr.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
irb.rb merge revision(s) 53943: [Backport #11969] 2016-03-29 06:10:16 +00:00
logger.rb merge revision(s) 53790,53844: [Backport #12054] 2016-03-29 05:57:39 +00:00
mathn.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
matrix.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
mkmf.rb merge revision(s) 53566: 2016-04-12 07:22:21 +00:00
monitor.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
mutex_m.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
observer.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
open-uri.rb * lib/net/ftp.rb (initialize): Connections are in passive mode per 2015-11-11 03:48:45 +00:00
open3.rb * lib/open3.rb: Specify frozen_string_literal: true. 2015-11-14 07:43:23 +00:00
optionparser.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
optparse.rb [DOC] Fix typos 2015-12-23 03:43:23 +00:00
ostruct.rb merge revision(s) 53395,53396: [Backport #11901] 2016-03-29 09:52:51 +00:00
pp.rb * lib/open-uri.rb: Remove indicator for "frozen_string_literal: true". 2015-11-10 11:48:14 +00:00
prettyprint.rb * lib/open-uri.rb: Remove indicator for "frozen_string_literal: true". 2015-11-10 11:48:14 +00:00
prime.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
profile.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
profiler.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
pstore.rb [DOC] Fix typos 2015-12-23 03:43:23 +00:00
rdoc.rb * lib/rdoc.rb: bump version to 4.2.1. It contains following fixes. 2015-12-22 12:08:13 +00:00
resolv-replace.rb * lib/resolv-replace.rb: Specify frozen_string_literal: true. 2015-11-14 08:25:30 +00:00
resolv.rb merge revision(s) 53363: [Backport #11910] [Backport #12061] 2016-03-29 13:59:37 +00:00
rss.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
rubygems.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
scanf.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
securerandom.rb merge revision(s) 54144,54699: [Backport #12139] 2016-04-22 15:30:27 +00:00
set.rb * lib/set.rb: Enable frozen_string_literal. 2015-11-16 07:41:30 +00:00
shell.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
shellwords.rb remove duplicated frozen_string_literal magic comment 2015-12-16 09:25:48 +00:00
singleton.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
sync.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
tempfile.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
thwait.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
time.rb * lib/time.rb: Use "<<" to reduce string allocation. 2015-11-14 12:45:30 +00:00
timeout.rb timeout.rb: watcher thread name 2015-12-18 15:46:50 +00:00
tmpdir.rb * lib/open-uri.rb: Remove indicator for "frozen_string_literal: true". 2015-11-10 11:48:14 +00:00
tracer.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
tsort.rb * lib/tsort.rb: Specify frozen_string_literal: true. 2015-11-14 08:46:11 +00:00
ubygems.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
un.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
unicode_normalize.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
uri.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
weakref.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
webrick.rb [DOC] Fix typos 2015-12-23 03:43:23 +00:00
xmlrpc.rb [DOC] Fix typos 2015-12-23 03:43:23 +00:00
yaml.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00