[9456] in Athena Bugs
rt 7.4E: /source/athena/athena.bin/ispell/{ispell.h,config.X}
daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Thu Jun 11 19:57:31 1992
Date: Thu, 11 Jun 92 19:57:19 -0400
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: bugs@Athena.MIT.EDU
System name: pit-manager
Type and version: RTPC-ROMPC 7.4E
Display type: apa16
megapel
What were you trying to do?
Hash a new ispell dictionary.
What's wrong:
The header files for ispell assume that the maximum word
length is 29 characters, but there is a word that is 45
characters long (PNEUMONOULTRAMICROSCOPICSILICOVOLCANO-
CONIOSIS).
What should have happened:
The header files shouldn't say things that aren't true.
Please describe any relevant documentation references:
This patch:
*** 1.2 1991/06/09 02:25:30
--- ispell.h 1992/06/11 23:49:13
***************
*** 120,126 ****
};
! #define WORDLEN 30
struct hashheader {
int magic;
--- 120,126 ----
};
! #define WORDLEN 46 /* PNEUMONOULTRAMICROSCOPICSILICOVOLCANOCONIOSIS */
struct hashheader {
int magic;
*** /source/athena/athena.bin/ispell/config.X Fri Jun 12 16:51:48 1987
--- config.X Thu Jun 11 19:49:05 1992
***************
*** 52,58 ****
#endif
/* word length allowed in dictionary by buildhash */
! #define WORDLEN 30
/* hash table magic number */
#define MAGIC 1
--- 52,58 ----
#endif
/* word length allowed in dictionary by buildhash */
! #define WORDLEN 46 /* PNEUMONOULTRAMICROSCOPICSILICOVOLCANOCONIOSIS */
/* hash table magic number */
#define MAGIC 1