On Jan 25, 2008, at 10:55 , Jim Surname wrote:

> The ultimate fix will be to use the Win32 API or MFC for dealing with
> files on Windows instead of the C Run-Time API, which should up the
> limit to some insanely high number.

no. the ultimate fix is to use block form:

File.open path, mode do |f|
   # ...
end