Project

General

Profile

Bug #2671

File.size fails for > 2GB

Added by rogerdpack (Roger Pack) over 9 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 1.8.6 (2009-03-31 patchlevel 368) [i386-mingw32]
[ruby-core:27915]

Description

=begin
3GB file, with 1.9.x

File.size 'big'
=> 3000000001

with 1.8.6:

File.size 'big'
=> -1294967295
=end

History

#1

Updated by usa (Usaku NAKAMURA) over 9 years ago

  • Status changed from Open to Rejected

=begin
It's spec of 1.8, because backporting large file support breaks binary compatibility.
=end

Also available in: Atom PDF