[haiku-bugs] [Haiku] #11809: Tracker: info window: wrong file size (in bytes) for files > 2 GiB (2^31 bytes)

  • From: "andy-kras" <trac@xxxxxxxxxxxx>
  • Date: Thu, 29 Jan 2015 23:31:49 -0000

#11809: Tracker: info window: wrong file size (in bytes) for files > 2 GiB (2^31
bytes)
----------------------------------+------------------------------
 Reporter:  andy-kras             |        Owner:  axeld
     Type:  bug                   |       Status:  new
 Priority:  normal                |    Milestone:  R1/beta1
Component:  Applications/Tracker  |      Version:  R1/Development
 Keywords:                        |   Blocked By:
 Blocking:                        |  Has a Patch:  0
 Platform:  x86                   |
----------------------------------+------------------------------
 Tracker -> "Get Info"  show wrong file size (in bytes) for file sizes more
 than 2 GiB.

 You can see it for file /boot/system/var/swap, for example.

 Just set virtual memory size 2.01 Gib and reboot.

 Then get file info in Tracker and see negative file size (-2,140,143,616
 bytes).



 Tested on last nightly hrev48745 x86_gcc2_hybrid and hrev48744 x86_64

--
Ticket URL: <https://dev.haiku-os.org/ticket/11809>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: