This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/55119] Ada.Directories only handles files under 2GB
- From: "simon at pushface dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 29 Oct 2012 21:57:02 +0000
- Subject: [Bug ada/55119] Ada.Directories only handles files under 2GB
- Auto-submitted: auto-generated
- References: <bug-55119-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55119
--- Comment #1 from simon at pushface dot org 2012-10-29 21:57:02 UTC ---
(In reply to comment #0)
> where attr->file_length is a long.
And on Mac OS X, sizeof(long) is 8. So there isn't a problem there (but the
comment in adaint.c is still wrong).
Are there systems where the size of the largest file can't be held in a long?
Shouldn't attr->file_length be an off_t?