Well, I don't really know for sure. All I know is that the standard C API for file I/O does weird things on 32-bit Windows and Linux with files >= 2 GB, and takes ints in places where a properly designed API would take something wider. Phobos merely propagates the defects of the underlying C API.
On Mon, Aug 16, 2010 at 1:05 PM, Andrei Alexandrescu <[email protected]>wrote: > David Simcha wrote: > >> ...not to mention that on 32-bit standard C FILE*s are 32-bit and do weird >> things when you get over the 2GB mark. IMHO this is by far the biggest >> problem with them. >> > > I don't understand this. So are you saying that the FILE pointer itself has > issues? > > By and large, I dislike playing nice with FILE* as much as the next guy but > I've looked into this many times and couldn't find a way to either play nice > with C libraries, or downgrading the importance of doing so. > > > Andrei > > _______________________________________________ > phobos mailing list > [email protected] > http://lists.puremagic.com/mailman/listinfo/phobos >
_______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
