>> The alleged 4 GB file size doesn't work on some OSes (FreeDOS, Windows >> NT?), only on old Win9x. So you're only guaranteed 2 GB individual >> file sizes, universally. > Wrong. You can use files of up to 4GB size on any Windows version that > supports FAT32. So does any reasonable version of Linux. Yes, some OS might > limit you to 2GB, as they are using a signed 32bit integer, but that is far > from being "universally".
the problem here is probably that early OS versions had checks that the file pointer was never moved below zero. i.e. move to 1.5 GB read stuff. move to 3.7 GB (which is 2.2 GB which is negative 1.8 GB) // what is the OS supposed to do? the 'solution' was (IIRC) to require applications in the OPEN call to indicate "yes, I understand 32 bits" FreeDOS does this by default. Tom _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user