[pdftex] BUG pdftex-1.40.11 TeXLive 2010 (win32)
Alexander Grahn
A.Grahn at hzdr.de
Tue Apr 12 11:11:12 CEST 2011
On Tue, Apr 12, 2011 at 11:36:33AM +0900, Akira Kakuto wrote:
>> #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.
Thank you very much for finding the error! Would it be possible to have
a fixed pdftex in TL 2010 by updating via tlmgr?
Alexander
More information about the pdftex
mailing list