According to Bruno Haible on 4/25/2007 1:39 AM: > > Btw, what is AC_FUNC_FSEEKO good for?
AC_FUNC_FSEEKO turns on large file support, if necessary.
> 2007-04-25 Bruno Haible <[EMAIL PROTECTED]>
>
> * modules/fseeko: New file.
...
> + #if @GNULIB_FSEEKO@
> + # if [EMAIL PROTECTED]@
> + /* Assume 'off_t' is the same type as 'long'. */
> + # define fseeko fseek
> + # endif
Is that assumption safe, or should we also find the size of long and off_t
to verify that situation?
> + #else
> + # undef fseeko
> + # define fseeko(f,o,w) \
> + (GL_LINK_WARNING ("fseeko is unportable - " \
> + "use gnulib module fseeko for portability"), \
> + fseeko (f, o, w))
> + #endif
Should we also add a link warning for programs that use fseek/ftell
instead of fseeko/ftello, telling the user they are potentially
artificially limited by not using off_t?
--
Don't work too hard, make some time for fun as well!
Eric Blake [EMAIL PROTECTED]
signature.asc
Description: OpenPGP digital signature
