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

Heiko Oberdiek heiko.oberdiek at googlemail.com
Tue Apr 12 11:33:08 CEST 2011


On Tue, Apr 12, 2011 at 11:11:12AM +0200, Alexander Grahn wrote:

> 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?

AFAIK binaries are usually not updated, because the overhead
of compiling testing them for the different platforms costs too
much resources that are not available.

But we have the year 2011, thus it's likely that it will be
fixed in the remaining 9 months for TL2011.

Yours sincerely
  Heiko Oberdiek


More information about the tex-live mailing list