Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: String assignments Message-ID: <10193@smoke.BRL.MIL> Date: 3 May 89 10:21:51 GMT References: <2747@buengc.BU.EDU> <13721@steinmetz.ge.com> <1814@leah.Albany.Edu> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 7 In article <1814@leah.Albany.Edu> rds95@leah.Albany.Edu (Robert Seals) writes: >But what if the compiler decides that ``somestring'' has finished it's >duty to the program, and overwrites the space it took with something else? We call that a "compiler bug". Strings have static storage duration; so long as one is still validly accessible via a pointer, it has to remain intact.