ispell mods - OOPS. Read this too.

bobm at rtech.UUCP bobm at rtech.UUCP
Wed Jan 28 07:38:50 AEST 1987


in article <625 at rtech.UUCP>, bobm at rtech.UUCP (Bob Mcqueer) screws up:

In the following lines of ispell.c:

> #ifndef NO8BIT
> 	for (c = 0; c < 128; ++c) {
> #else
> 	for (c = 0; c < 256; ++c) {
> #endif

make that ifndef an ifdef.  Will only bite you if you try setting NO8BIT,
or have 8 bit characters in your text on a system that doesn't initialize
memory to zero.  I haven't done the former - I simply put in the ifdef as
a safety measure, and I tested the 8 bit stuff on a pyramid by futzing
around with a file that I ran through "tr" to make some of the characters >
127.  It worked OK, so I assume the pyramid nicely zeros everything
for you.  Sorry about that.



More information about the Comp.sources.unix mailing list