mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* instruby: do not handle directories. [ruby-dev:20613]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
37f26903b0
commit
3ed23a541f
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Jul 11 18:37:37 2003 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* instruby: do not handle directories. [ruby-dev:20613]
|
||||
|
||||
Fri Jul 11 16:09:09 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* util.c (ruby_strtod): exp should be less than MDMAXEXPT.
|
||||
|
|
|
@ -179,7 +179,7 @@ if RUBY_PLATFORM =~ /mswin32|mingw|bccwin32/
|
|||
end
|
||||
|
||||
Dir.glob("*.[1-9]") do |mdoc|
|
||||
next unless open(mdoc){|fh| fh.read(1) == '.'}
|
||||
next unless File.file?(mdoc) and open(mdoc){|fh| fh.read(1) == '.'}
|
||||
|
||||
section = mdoc[-1,1]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue