note 629 deleted from ref.pdf by sander
| From: | sander@php.net | Date: | Sun, 07 Apr 2002 12:34:35 +0000 |
| Subject: | note 629 deleted from ref.pdf by sander | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-28886@lists.php.net to get a copy of this message | ||
OK, here's the cvs documentation on the pdf_close problem:
1.16 Wed Jan 6 6:18:26 Canada/Eastern 1999 UTC by rasmus
From looking at the pdflib sources the PDF_close() library function calls PDF_finalize() which does
an fclose() on the descriptor. So the file is closed which means we need to delete it from the file
descriptor list
Which, I think is done thru php3's fclose(). I solved this by building pdflib with line 190 of
p_basic.c commented out for the purpose of building into php. I don't know if this is the
suggested fix, but it works dandy for me. :)