cvs: php4 /ext/pspell pspell.c

From: Date: Mon, 05 Feb 2001 18:15:32 +0000
Subject: cvs: php4 /ext/pspell pspell.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-3913@lists.php.net to get a copy of this message
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)

« previous php.cvs (#3913) next »