vlad Mon Feb 5 10:15:32 2001 EDT
Modified files:
/php4/ext/pspell pspell.c
Log:
now when pspell/pspell.h is included, it will recognize
that it has to work in compatibility mode. (The previous fix
had the right idea, but was too far down in the source)
Index: php4/ext/pspell/pspell.c
diff -u php4/ext/pspell/pspell.c:1.13 php4/ext/pspell/pspell.c:1.14
--- php4/ext/pspell/pspell.c:1.13 Fri Feb 2 10:28:48 2001
+++ php4/ext/pspell/pspell.c Mon Feb 5 10:15:31 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pspell.c,v 1.13 2001/02/02 18:28:48 rasmus Exp $ */
+/* $Id: pspell.c,v 1.14 2001/02/05 18:15:31 vlad Exp $ */
#define IS_EXT_MODULE
@@ -28,6 +28,9 @@
#if HAVE_PSPELL
+/* this will enforce compatibility in .12 version (broken after .11.2) */
+#define USE_ORIGINAL_MANAGER_FUNCS
+
#include "php_pspell.h"
#include <pspell/pspell.h>
#include "ext/standard/info.h"
@@ -37,7 +40,6 @@
#define PSPELL_BAD_SPELLERS 3L
#define PSPELL_SPEED_MASK_INTERNAL 3L
#define PSPELL_RUN_TOGETHER 8L
-#define USE_ORIGINAL_MANAGER_FUNCS 1L
function_entry pspell_functions[] = {
PHP_FE(pspell_new, NULL)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]