From: Thomas Sondergaard Date: 2004-04-02T03:34:23+09:00 Subject: Re: Strange rubyzip behaviour (Errno::EFBIG) - Errno::EINVAL vs Errno::EFBIG > travis@aop:~$ ruby crash.rb > crash.rb:6:in `read': File too large - foo.txt (Errno::EFBIG) > from crash.rb:6 > from crash.rb:4:in `open' > from crash.rb:4 Aah, on my systems (ruby 1.8.1 (2003-12-25) [i686-linux] and ruby 1.8.0 (2003-08-04) [i386-mswin32]) your example raises Errno::EINVAL which rubyzip expects and handles. I wonder if it is matz' intention that the ruby interpreter should mend such inconsistencies between different operating systems. Otherwise I will add another rescue-clause that handles Errno::EFBIG. Cheers, Thomas