[Bf-committers] _LARGEFILE_SOURCE

Giuseppe Ghibò ghibo at mandriva.com
Sun Feb 17 22:33:27 CET 2008

I've just seen Campbell committed a subset of my patch for bug #6811. 
Indeed it's also important
that the I/O or (l)lseek() functions in blender are also switched to 
blender is not only able to show largefiles with right size in the file 
requester, but also to deal with them.

The right way to do this is to include the patch as whole, as the key is 
to pass the
right flags to CPPDEFINES and thus propagate to every file compiled. 
I've checked this
twice and the right place is both tools/Blender.py as well as 
(otherwise 'verse' would be left out from the largefile). Note also that 
3rd party libraries
which relies on "configure" already use and detect the LARGEFILE option, 
so once the patch is
applied everything should be already in sync.


More information about the Bf-committers mailing list