php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1724 Incompatibility with pdflib2.0 (no PDF_close_fp) - patch follows
Submitted: 1999-07-15 18:21 UTC Modified: 1999-07-16 06:43 UTC
From: dcanazz at tin dot it Assigned:
Status: Closed Package: Other
PHP Version: 3.0.11 OS: Debian GNU/Linux 2.1
Private report: No CVE-ID: None
 [1999-07-15 18:21 UTC] dcanazz at tin dot it
--- 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
 }

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-07-16 06:43 UTC] steinm at cvs dot php dot net
This has been fixed in the CVS tree before.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 14:01:33 2024 UTC