[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspell-devel] The String class for 0.60 does not null terminatestri
From: |
Gary Setter |
Subject: |
Re: [aspell-devel] The String class for 0.60 does not null terminatestrings. |
Date: |
Mon, 27 Sep 2004 16:01:27 -0500 |
<snip>
> I repeat: The string is only null termined when the c_str() or
> ensure_null_end() is called.
>
Look at your String class. You have several public methods that
return begin_ without null termination.
No one I know maintains none null terminated lists this way. It
is too easy to forget and have a problem. Null termination is not
costly. You might make your code run faster by not appending
characters one at a time to a string.
Please, please reconsider,
Gary
- [aspell-devel] The String class for 0.60 does not null terminate strings., Gary Setter, 2004/09/26
- Re: [aspell-devel] The String class for 0.60 does not null terminate strings., Kevin Atkinson, 2004/09/26
- Re: [aspell-devel] The String class for 0.60 does not null terminate strings., Gary Setter, 2004/09/27
- Re: [aspell-devel] The String class for 0.60 does not null terminate strings., Kevin Atkinson, 2004/09/27
- Re: [aspell-devel] The String class for 0.60 does not null terminate strings., Gary Setter, 2004/09/27
- Re: [aspell-devel] The String class for 0.60 does not null terminate strings., Kevin Atkinson, 2004/09/27
- Re: [aspell-devel] The String class for 0.60 does not null terminatestrings.,
Gary Setter <=
- Re: [aspell-devel] The String class for 0.60 does not null terminatestrings., Kevin Atkinson, 2004/09/27
- Re: [aspell-devel] The String class for 0.60 does not nullterminatestrings., Lumina, 2004/09/27
- Re: [aspell-devel] The String class for 0.60 does not nullterminatestrings., Kevin Atkinson, 2004/09/27