Path: utzoo!mnetor!uunet!husc6!cca!mirror!ima!haddock!karl From: karl@haddock.ISC.COM (Karl Heuer) Newsgroups: comp.lang.c Subject: Re: (So-Called) ANSI C Message-ID: <2124@haddock.ISC.COM> Date: 5 Jan 88 00:24:50 GMT References: <4668@pyr.gatech.EDU> <2046@haddock.ISC.COM> <400@uniq.UUCP> Reply-To: karl@haddock.ima.isc.com (Karl Heuer) Organization: Interactive Systems, Boston Lines: 12 In article <400@uniq.UUCP> dfm@uniq.UUCP (Meyer) writes: >... there was an implementation where string constants were put in read-only >(text??) memory, and changing them produced [some fault]. ... >Since then, I have never assumed that I could write into a literal. I've always considered it atrocious to do so, but the fact is that K&R did explicitly allow it (why!?), and so any pre-ANSI implementation that put string literals into read-only memory would have to be judged "broken". The new rule is a Quiet Change, but it doesn't bother me a bit. Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint