Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
Subject: Re: segfault and gcc-2.96
Date: 05 Nov 2002 01:35:44 +0100	[thread overview]
Message-ID: <878z08vonz.fsf@student.uni-tuebingen.de> (raw)
In-Reply-To: 3DC70390.3C7CDB89@lmco.nospam.com

JMK <jeffrey.m.klopotic@lmco.nospam.com> writes:

> char *f1 = "default.str";
> 	...
> 	strcpy (f1, pfix); <-------- 	Program received signal SIGSEGV,

String literals are not writable. They are of type const char*.

-- 
	Falk


  parent reply	other threads:[~2002-11-05  0:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <apqobk$ocj$1@news.tudelft.nl>
     [not found] ` <3DC324DA.4C495AEC@lmco.nospam.com>
     [not found]   ` <EzMw9.1438$hf.102567@castor.casema.net>
2002-11-04 23:32     ` segfault and gcc-2.96 JMK
2002-11-05  0:35       ` Ulrich Weigand
2002-11-05  0:35       ` Falk Hueffner [this message]
2002-11-05  7:31         ` Mark Swaanenburg
2002-11-06  4:40         ` Kevin Easton
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox