From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 6 19:41:09 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 597C016A41C for ; Wed, 6 Jul 2005 19:41:09 +0000 (GMT) (envelope-from stsp@stsp.in-berlin.de) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD45E43D49 for ; Wed, 6 Jul 2005 19:41:08 +0000 (GMT) (envelope-from stsp@stsp.in-berlin.de) X-Envelope-From: stsp@stsp.in-berlin.de X-Envelope-To: Received: from dice.seeling33.de (e178167200.adsl.alicedsl.de [85.178.167.200]) (authenticated bits=0) by einhorn.in-berlin.de (8.12.10/8.12.10/Debian-4) with ESMTP id j66Jf2NK031954 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 6 Jul 2005 21:41:06 +0200 Received: by dice.seeling33.de (Postfix, from userid 1001) id 3FC5033C38; Wed, 6 Jul 2005 21:41:01 +0200 (CEST) Date: Wed, 6 Jul 2005 21:41:00 +0200 From: Stefan Sperling To: freebsd-hackers@freebsd.org Message-ID: <20050706194100.GA5170@dice.seeling33.de> Mail-Followup-To: freebsd-hackers@freebsd.org References: <20050706185536.GA4700@dice.seeling33.de> <42CC2C36.7090003@savvis.net> <42CC2C9F.5000301@savvis.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42CC2C9F.5000301@savvis.net> User-Agent: Mutt/1.4.2.1i X-Spam-Score: (-1.595) AWL,BAYES_00,FORGED_RCVD_HELO X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 Subject: Re: bus error in strsep X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jul 2005 19:41:09 -0000 On Wed, Jul 06, 2005 at 12:10:23PM -0700, Maksim Yevmenkin wrote: > Maksim Yevmenkin wrote: > >> char *c = "whats:your:name:buddy?"; > > > > ^^^^^^^^^^^^^^^^ that is not read only copy. you can not write > > into it. replace it with > > made type. that should read "that is read only copy" :) Dark corners of C... So it's my own fault, as usual :) thanks a lot :) -- stefan http://stsp.in-berlin.de PGP Key: 0xF59D25F0