Project

General

Profile

Actions

Bug #2671

closed

File.size fails for > 2GB

Added by rogerdpack (Roger Pack) almost 15 years ago. Updated over 13 years ago.

Status:
Rejected
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

Actions #1

Updated by usa (Usaku NAKAMURA) almost 15 years ago

  • Status changed from Open to Rejected

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

Actions

Also available in: Atom PDF

Like0
Like0