Re: Re: GNU Aspell 0.60-pre1 Now Available

Kevin Atkinson <[email protected]>
Newsgroups gmane.comp.gnu.aspell.devel
Message-ID <Pine.LNX.4.44.0407261325090.2507-100000@kevin-p3.atkinson.dhs.org>
On Mon, 26 Jul 2004, James Lee wrote:

> On 24/07/04, 13:08:27, Kevin Atkinson <[email protected]> wrote regarding Re: 
> [aspell-devel] Re: GNU Aspell 0.60-pre1 Now Available:
> 
> 
> > > (6) Arrays with no or zero length are not allowed.  These I changed
> > > to be 1 element.  I have not counted what extra allocation it causes,
> > > so far I've done what is needed to get a clean compile and a working
> > > system.
> 
> My apologies for not listing the third occurrence of an undimensioned 
> array:
> 
> --- ./modules/speller/default/readonly_ws.cpp.orig	2004-07-16 
> 11:22:11.000000000 -0400
> +++ ./modules/speller/default/readonly_ws.cpp	2004-07-16 
> 11:30:54.407525000 -0400
> @@ -669,7 +669,7 @@
>      byte sl_size;
>      byte data_size;
>      byte flags;
> -    char word[];
> +    char word[1];
>    };
>  
>    struct SoundslikeLess {

Ok fixed.  This one also had the sizeof taken of it.

---
http://kevin.atkinson.dhs.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.