Subject: Re: CVS commit: src/sys
To: Jason Thorpe <thorpej@shagadelic.org>
From: Christos Zoulas <christos@zoulas.com>
List: source-changes
Date: 05/17/2005 13:17:56
On May 17, 8:27am, thorpej@shagadelic.org (Jason Thorpe) wrote:
-- Subject: Re: CVS commit: src/sys
| On May 17, 2005, at 8:03 AM, Christos Zoulas wrote:
|
| > On May 17, 10:30am, perry@piermont.com ("Perry E. Metzger") wrote:
| > -- Subject: Re: CVS commit: src/sys
| >
| > | > Not if it is not const.
| > |
| > | gcc4 no longer has writable strings...
| >
| > I think that will make it difficult to write programs then.
|
| char foo[] = "some string"; /* still works */
Yes, my reply was tongue in cheek. The above form just produces an unshared
copy of the const string...
christos