Bug #1724: Incompatibility with pdflib2.0 (no PDF_close_fp) - patch follows
| From: | dcanazz at tin dot it | Date: | Thu, 15 Jul 1999 22:21:05 +0000 |
| Subject: | Bug #1724: Incompatibility with pdflib2.0 (no PDF_close_fp) - patch follows | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-8567@lists.php.net to get a copy of this message | ||
From: dcanazz@tin.it
Operating system: Debian GNU/Linux 2.1
PHP version: 3.0.11
PHP Bug Type: Other
Bug description: Incompatibility with pdflib2.0 (no PDF_close_fp) - patch follows
--- pdf-old.c Fri Jul 16 02:23:06 1999
+++ pdf.c Fri Jul 16 02:24:16 1999
@@ -197,11 +197,9 @@
static void _free_pdf_doc(PDF *pdf)
{
+ PDF_close(pdf);
#if HAVE_PDFLIB2
- PDF_close_fp(pdf);
PDF_delete(pdf);
-#else
- PDF_close(pdf);
#endif
}