[pdftex] BUG pdftex-1.40.11 TeXLive 2010 (win32)

Akira Kakuto kakuto at fuk.kindai.ac.jp
Tue Apr 12 04:36:33 CEST 2011


> #ifdef WIN32
>   {
>     /* block other processes from messing with the file */
>     long len;
>     fseek (file, 0L, SEEK_END);
>     len = ftell (file);
>     fseek (file, 0L, SEEK_SET);
>     if(_locking(_fileno(file), _LK_NBLCK, len)) {
>       fclose(file);
>       error(-1, "Couldn't lock file '%s'", fileName->getCString());
>       errCode = errOpenFile;
>       return;
>     }
>   }
> #endif

I found that there does not exist the above code in the original
xpdf and in the source in TL repository.
I don't remember why my PDFDoc.cc differs from the original one.
I'll remove the above and the bug will be fixed in TL 2011.

Thanks,
Akira



More information about the pdftex mailing list