Re: The String class for 0.60 does not null terminate strings.
Kevin Atkinson <[email protected]>
| Newsgroups | gmane.comp.gnu.aspell.devel |
|---|---|
| Message-ID | <Pine.LNX.4.44.0409271335180.1574-100000@kevin-p3.atkinson.dhs.org> |
On Mon, 27 Sep 2004, Gary Setter wrote: > I showed all the methods that are used when constructing a String > object for a c string literal. One of those methods should have > null terminated the string that begin_ points to. None did. If > I'm wrong please show we where a String object constructed from a > const char * is null terminated. I repeat: The string is only null termined when the c_str() or ensure_null_end() is called. -- http://kevin.atkinson.dhs.org