Ispell 3.3 offers improved support for international languages, improved deformatting, and better support for compilation on Windows systems. All known security holes have been closed. A number of small bugs are also fixed.
33 lines
954 B
Text
33 lines
954 B
Text
$NetBSD: patch-ae,v 1.3 2005/07/07 12:42:20 markd Exp $
|
|
|
|
--- lookup.c.orig 2005-04-15 09:25:52.000000000 +1200
|
|
+++ lookup.c
|
|
@@ -247,11 +247,11 @@ int linit ()
|
|
if (dp->word == (unsigned char *) -1)
|
|
dp->word = NULL;
|
|
else
|
|
- dp->word = &hashstrings[(unsigned long) dp->word];
|
|
+ dp->word = &hashstrings[(PTRSIZE) dp->word];
|
|
if (dp->next == (struct dent *) -1)
|
|
dp->next = NULL;
|
|
else
|
|
- dp->next = &hashtbl[(unsigned long) dp->next];
|
|
+ dp->next = &hashtbl[(PTRSIZE) dp->next];
|
|
}
|
|
}
|
|
|
|
@@ -259,12 +259,12 @@ int linit ()
|
|
{
|
|
if (entry->stripl)
|
|
entry->strip =
|
|
- (ichar_t *) &hashstrings[(unsigned long) entry->strip];
|
|
+ (ichar_t *) &hashstrings[(PTRSIZE) entry->strip];
|
|
else
|
|
entry->strip = NULL;
|
|
if (entry->affl)
|
|
entry->affix =
|
|
- (ichar_t *) &hashstrings[(unsigned long) entry->affix];
|
|
+ (ichar_t *) &hashstrings[(PTRSIZE) entry->affix];
|
|
else
|
|
entry->affix = NULL;
|
|
}
|