Large file support?

Dan murpsoft at hotmail.com
Thu Apr 19 11:41:17 PDT 2007


Jose Quinteiro Wrote:

> I could not find any way to open large files using D/Phobos streams.  I 
> wound up writing a little C turdlet to handle this.
> 
> Since Phobos calls the C library, I think adding support for this could 
> be as simple as compiling dmd with _FILE_OFFSET_BITS defined to 64.

I'm not sure, but I think it's presently defined as size_t; which is aliased to either long or int depending on the system.  I don't think they used uint or ulong...



More information about the Digitalmars-d mailing list