bus error in strsep

Stefan Sperling stsp at stsp.in-berlin.de
Wed Jul 6 19:41:09 GMT 2005


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


More information about the freebsd-hackers mailing list