[hatari-devel] Using ftello/fseeko instead of ftell/fseek for large file support

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi

I see that sometimes we use different calls for file position, even in the same .c file.

Shouldn't we use fseeko/ftello which uses a "off_t" type and can handle 64 bit file size, instead of the older fseek/ftell which can be limited to 32 bits / 2 GB ?

Can someone have a look at the fseek/ftell calls to replace them with their fseeko/ftello equivalent ? (I will take care of avi_record.c myself)


Nicolas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/