This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/55119] Ada.Directories only handles files under 2GB


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]