[NTG-pdftex] 2GB limit and Windows

Akira Kakuto kakuto at fsci.fuk.kindai.ac.jp
Wed Oct 31 17:13:51 CET 2007


Hi David,

> do I understand correctly from the discussions and Svn logs that
> PDFTeX is now ready to create large PDF files under GNU/Linux, but the
> same can't be said of Windows?

Please test the binary of W32TeX (1.50.0-alpha),
and teach me the problem.
I've used
#ifdef WIN32
#include <io.h>
void
xfseek64 (FILE *f, __int64 offset, int wherefrom,  char *filename)
{
    fflush(f);
    if (_lseeki64(fileno(f), offset, wherefrom) < (__int64)0)
        FATAL_PERROR(filename);
}
#endif
in
void writestreamlength(integer length, longinteger offset)

I myself don't have tested the large file.

Best regards,
Akira


More information about the ntg-pdftex mailing list