comp.lang.ada
 help / color / mirror / Atom feed
From: gpriv@axonx.com
Subject: Ada.Directories.Size wraps on over 2Gb files
Date: Mon, 10 Dec 2007 13:38:32 -0800 (PST)
Date: 2007-12-10T13:38:32-08:00	[thread overview]
Message-ID: <0db40dde-17f0-40a9-9dc0-55f9b0a8e1b1@x69g2000hsx.googlegroups.com> (raw)

Couple of things that I found so far:

Ada.Directories.Size wraps on over 2Gb files returning negative
number.  I saw that was mentioned in

In addition to that:

In addition to that Ada.Direct_IO.Size returns 0 on the same while
End_Of_File is permanently true.  At the same time it is possible to
write files larger than 2G.

Types are all seem to be long integers, so it looks like truncation is
being made somewhere in C code (?)

Regards,

George.



             reply	other threads:[~2007-12-10 21:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-10 21:38 gpriv [this message]
2007-12-10 22:28 ` Ada.Directories.Size wraps on over 2Gb files Stefan Bellon
2007-12-11  1:29 ` Randy Brukardt
2007-12-11  1:36   ` gpriv
  -- strict thread matches above, loose matches on Subject: below --
2007-12-10 21:37 gpriv
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox