mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/fileutils (fu_stream_blksize): wrong logial condition.
(and -> or). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a068f1cc07
commit
8d5ad9c1b3
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Sun Feb 23 17:57:06 2003 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/fileutils (fu_stream_blksize): wrong logial condition.
|
||||||
|
(and -> or).
|
||||||
|
|
||||||
Sat Feb 22 02:45:20 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Sat Feb 22 02:45:20 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* eval.c (rb_thread_create): may called from place higher than
|
* eval.c (rb_thread_create): may called from place higher than
|
||||||
|
|
|
@ -725,7 +725,7 @@ module FileUtils
|
||||||
streams.each do |s|
|
streams.each do |s|
|
||||||
next unless s.respond_to?(:stat)
|
next unless s.respond_to?(:stat)
|
||||||
size = s.stat.blksize
|
size = s.stat.blksize
|
||||||
return size unless size.nil? and size.zero?
|
return size unless size.nil? or size.zero?
|
||||||
end
|
end
|
||||||
1024
|
1024
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue