comp.lang.ada
 help / color / mirror / Atom feed
* Ada.Directories.Size wraps on over 2Gb files
@ 2007-12-10 21:38 gpriv
  2007-12-10 22:28 ` Stefan Bellon
  2007-12-11  1:29 ` Randy Brukardt
  0 siblings, 2 replies; 5+ messages in thread
From: gpriv @ 2007-12-10 21:38 UTC (permalink / 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.



^ permalink raw reply	[flat|nested] 5+ messages in thread
* Ada.Directories.Size wraps on over 2Gb files
@ 2007-12-10 21:37 gpriv
  0 siblings, 0 replies; 5+ messages in thread
From: gpriv @ 2007-12-10 21:37 UTC (permalink / 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.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-12-11  1:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-10 21:38 Ada.Directories.Size wraps on over 2Gb files gpriv
2007-12-10 22:28 ` 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

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