From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10c696,d10848107276edee X-Google-Attributes: gid10c696,public X-Google-Thread: 111c93,6331f57d343c4816 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2002-11-04 16:37:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Falk Hueffner Newsgroups: comp.os.linux.development.apps,comp.os.linux.alpha Subject: Re: segfault and gcc-2.96 Date: 05 Nov 2002 01:35:44 +0100 Organization: T-Online Sender: falk@juist Message-ID: <878z08vonz.fsf@student.uni-tuebingen.de> References: <3DC324DA.4C495AEC@lmco.nospam.com> <3DC70390.3C7CDB89@lmco.nospam.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.t-online.com 1036456544 06 4234 CdcWbvTSSOAf6d 021105 00:35:44 X-Complaints-To: abuse@t-online.com X-Sender: 520046482682-0001@t-dialin.net X-Face: "iUeUu$b*W_"w?tV83Y3*r:`rh&dRv}$YnZ3,LVeCZSYVuf[Gpo*5%_=/\_!gc_,SS}[~xZ wY77I-M)xHIx:2f56g%/`SOw"Dx%4Xq0&f\Tj~>|QR|vGlU}TBYhiG(K:2 writes: > char *f1 = "default.str"; > ... > strcpy (f1, pfix); <-------- Program received signal SIGSEGV, String literals are not writable. They are of type const char*. -- Falk