1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
shirosaki dcd7f09be2 Optimize winnt_stat
* test/ruby/test_file_exhaustive.rb
  (TestFileExhaustive#test_stat_special_file): add a test.
  GetFileAttributesExW fails to get attributes of special files
  such as pagefile.sys.

* win32/win32.c (check_valid_dir): for performance, check the path
  by FindFirstFileW only if the path containts "..."

* win32/win32.c (winnt_stat): use GetFileAttributesExW instead of
  FindFirstFileW since GetFileAttributesExW is faster.
  Based on the patch by Dusan D. Majkic.
  [ruby-core:47083] [Feature ]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-09 11:34:48 +00:00
..
-ext-
base64
benchmark
bigdecimal
cgi * lib/cgi/html.rb (element_init): suppress redefine warning. 2012-07-25 00:19:09 +00:00
coverage
csv
date uncommented some tests 2012-08-04 22:07:42 +00:00
dbm
digest ext/digest/digest.c (hexencode_str_new): return an ASCII string 2012-08-01 13:30:51 +00:00
dl
drb fixed: can't delete unix domain sockets problem 2012-07-18 22:39:28 +00:00
erb
etc * test/etc/test_etc.rb (TestEtc#test_getpwuid): `s' is never set to nil. 2012-08-06 02:20:47 +00:00
fiddle
fileutils
gdbm Suppress warnings. 2012-07-25 06:49:35 +00:00
io
irb
json
logger
matrix
minitest
misc
mkmf test_framework.rb: show mkmf.log on failure 2012-08-01 22:29:58 +00:00
monitor
net * test/net/http/test_https.rb (TestNetHTTPS#test_session_reuse): localhost is not (always) 127.0.0.1. Don't expect that. 2012-07-26 05:54:29 +00:00
nkf
objspace
open-uri * lib/net/http.rb: Net::HTTP now automatically detects and uses 2012-07-20 01:56:21 +00:00
openssl * test/openssl/test_config.rb (OpenSSL#test_constants): skip this 2012-08-09 03:42:00 +00:00
optparse
ostruct
pathname
psych
rake
rdoc
readline
resolv
rexml Suppress warnings. 2012-07-23 21:37:39 +00:00
rinda
ripper * parse.y: added symbols and qsymbols productions for %i and %I 2012-07-24 18:10:35 +00:00
rss Suppress warnings. 2012-07-23 21:37:39 +00:00
ruby Optimize winnt_stat 2012-08-09 11:34:48 +00:00
rubygems * lib/rubygems/platform.rb (Gem::Platform#initialize): Support pattern 2012-07-30 14:04:48 +00:00
scanf
sdbm
socket Show nd6 options and whether the packet is reached to the server or not. 2012-07-24 03:09:32 +00:00
stringio
strscan
syck
syslog * syslog/test_syslog_logger.rb: miss. 2012-08-06 02:11:58 +00:00
testunit * test/testunit/test_redefinition.rb: broken class/method names. 2012-07-25 01:01:59 +00:00
thread
uri * test/uri/test_generic.rb (URI#test_find_proxy): add tests with empty *_proxy env variables. 2012-07-22 16:55:55 +00:00
webrick
win32ole * test/win32ole/test_win32ole_variant.rb: setting WIN32OLE.locale 2012-08-06 10:21:12 +00:00
xmlrpc
zlib
inlinetest.rb
profile_test_all.rb
runner.rb runner.rb: no installed gems 2012-08-03 08:21:55 +00:00
test_cmath.rb
test_curses.rb
test_delegate.rb
test_find.rb
test_ipaddr.rb
test_mathn.rb
test_mutex_m.rb
test_open3.rb
test_pp.rb
test_prettyprint.rb
test_prime.rb
test_pstore.rb
test_pty.rb
test_securerandom.rb Suppress warnings. 2012-07-25 06:49:35 +00:00
test_set.rb
test_shellwords.rb
test_singleton.rb
test_syslog.rb
test_tempfile.rb
test_time.rb
test_timeout.rb
test_tmpdir.rb
test_tracer.rb
test_tsort.rb
test_weakref.rb
with_different_ofs.rb