[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Aspell-user] Major Aspell 0.50.4 bug and Fix
From: |
Kevin Atkinson |
Subject: |
[Aspell-user] Major Aspell 0.50.4 bug and Fix |
Date: |
Tue, 7 Oct 2003 19:18:36 -0400 (EDT) |
It is due to a bug that was introduced in Aspell 0.50.4. Here is a patch
to fix the problem.
--- prog/aspell.cpp.~1.25.2.11.~ 2003-09-10 22:39:39.000000000
-0400
+++ prog/aspell.cpp 2003-10-06 22:45:24.000000000 -0400
@@ -402,7 +402,7 @@
while (last > 0 && asc_isspace(str[last])) {
--last;
}
- str[last] = '\0';
+ str[last + 1] = '\0';
return str;
}
-- END
Since this is a major bug a new Aspell release that fixes this bug will be
available within a week.
Sorry about that. I didn't test Aspell enough before release.
--
http://kevin.atkinson.dhs.org