CVS update: php3/functions
| From: | rasmus | Date: | Sun, 16 May 1999 15:38:01 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-5698@lists.php.net to get a copy of this message | ||
Date: Sunday May 16, 1999 @ 11:38
Author: rasmus
Update of /repository/php3/functions
In directory php:/tmp/cvs-serv27214/functions
Modified Files:
fdf.c
Log Message:
Fix weird dso bug in fdf extension as well
Index: php3/functions/fdf.c
diff -u php3/functions/fdf.c:1.3 php3/functions/fdf.c:1.4
--- php3/functions/fdf.c:1.3 Thu Mar 11 12:25:23 1999
+++ php3/functions/fdf.c Sun May 16 11:38:01 1999
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: fdf.c,v 1.3 1999/03/11 17:25:23 steinm Exp $ */
+/* $Id: fdf.c,v 1.4 1999/05/16 15:38:01 rasmus Exp $ */
/* FdfTk lib 2.0 is a Complete C/C++ FDF Toolkit available from
http://beta1.adobe.com/ada/acrosdk/forms.html.
*/
@@ -101,10 +101,14 @@
DLEXPORT php3_module_entry *get_module(void) { return &fdf_module_entry; }
#endif
+static void php3i_FDFClose(FDFDoc fdf) {
+ (void)FDFClose(fdf);
+}
+
int php3_minit_fdf(INIT_FUNC_ARGS)
{
FDFErc err;
- FDF_GLOBAL(le_fdf) = register_list_destructors(FDFClose, NULL);
+ FDF_GLOBAL(le_fdf) = register_list_destructors(php3i_FDFClose, NULL);
err = FDFInitialize();
if(err == FDFErcOK)
return SUCCESS;
@@ -170,7 +174,7 @@
RETURN_FALSE;
}
-// FDFClose(fdf);
+/* FDFClose(fdf); */
php3_list_delete(id);
RETURN_TRUE;
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net