From a0aed76548a8c31dcf845742c1f1d12499bbef9f Mon Sep 17 00:00:00 2001 From: eban Date: Sun, 23 Feb 2003 09:00:51 +0000 Subject: * lib/fileutils (fu_stream_blksize): wrong logial condition. (and -> or). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/fileutils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/fileutils.rb b/lib/fileutils.rb index 775b2bb53..0997b9473 100644 --- a/lib/fileutils.rb +++ b/lib/fileutils.rb @@ -725,7 +725,7 @@ module FileUtils streams.each do |s| next unless s.respond_to?(:stat) size = s.stat.blksize - return size unless size.nil? and size.zero? + return size unless size.nil? or size.zero? end 1024 end -- cgit