Ranges longer than size_t.max

SomeDude lovelydear at mailmetrash.com
Wed Jan 2 13:43:55 PST 2013


On Sunday, 30 December 2012 at 22:08:59 UTC, Jonathan M Davis 
wrote:
> On Sunday, December 30, 2012 19:23:13 SomeDude wrote:
>> AFAIK, no 32-bit OS supports files larger than 4Gb anyway.
>
> Um. No. There's a reason that things like the macro 
> _LARGE_FILE_API exist.
> While some file systems won't allow larger file sizes, that's 
> generally an FS
> limitation, not an OS limitation. The OSes provide ways to 
> operate on 64-bit
> files on 32-bit systems. If they didn't, it would be impossible 
> to do something
> like read a Blu-ray on a 32-bit system.
>
> http://en.wikipedia.org/wiki/Large_file_support
>
> - Jonathan M Davis

That's true, I stand corrected.


More information about the Digitalmars-d mailing list