c/9857: string tokenizer causes segmentation faults
steven@gcc.gnu.org
steven@gcc.gnu.org
Wed Feb 26 13:23:00 GMT 2003
Synopsis: string tokenizer causes segmentation faults
State-Changed-From-To: open->closed
State-Changed-By: steven
State-Changed-When: Wed Feb 26 13:23:02 2003
State-Changed-Why:
This is not a compiler bug. You can't use strtok on constant strings. See the manpages. (Note that those also say: "Never use these functions.")
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9857
More information about the Gcc-bugs
mailing list