[pdftex] Re: filedescriptor leak in pdftex 14h

Otfried Cheong otfried at cs.uu.nl
Tue May 15 11:38:11 CEST 2001


 > Is it realy necessary to keep descriptors to all included images
 > open, or is it a filedescriptor leak ?

What kind of images are these, and how are you including them?  

Note that \pdfximage opens the image file and indeed leaves a file
descriptor open.  Once you call \pdfrefximage for the first time, the
image is actually embedded, and then the image file is closed.

File descriptors for embedded PDF files with more than one page are
never closed.

So if \pdfximage is called more than once on the same image, you have
a filedescriptor leak.

Otfried





More information about the pdftex mailing list