Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jul 2005 21:41:00 +0200
From:      Stefan Sperling <stsp@stsp.in-berlin.de>
To:        freebsd-hackers@freebsd.org
Subject:   Re: bus error in strsep
Message-ID:  <20050706194100.GA5170@dice.seeling33.de>
In-Reply-To: <42CC2C9F.5000301@savvis.net>
References:  <20050706185536.GA4700@dice.seeling33.de> <42CC2C36.7090003@savvis.net> <42CC2C9F.5000301@savvis.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050706194100.GA5170>