bug in strsep?
Alexandre Oliva
aoliva@redhat.com
Tue Dec 12 16:09:00 GMT 2000
On Dec 12, 2000, Jason Knight <jwknight@ucdavis.edu> wrote:
> Trying to use "char* strsep(char **stringp, const char
> *delim)" which supposedly
Don't pass it a string literal in stringp. The string must be
modifyable, and string literals are placed in read-only memory.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc-help
mailing list