------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-23
03:00 -------
This is invalid, see the prototype for strtok{,_r}:
strtok_r(char *str, const char *sep, char **last);
And from the man page (from *BSD, well from darwin):
The strtok() function is used to isolate sequential tokens in a null-ter-
minated string, str.
So you need a writable string.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19582