Subject: Re: CVS commit: syssrc To: Matthew Jacob <mjacob@netbsd.org> From: Charles M. Hannum <root@ihack.net> List: port-sparc64 Date: 12/30/2000 19:49:26
> Read my update. It is a bug somewher and not the code.
>
> char *foo = "XXX"
>
> is not
>
> const char *foo = "XXX";
That's true, but the *string literal* is a `const char *'. It gets
stored in the text section, and is read-only.