FW: gcc help requested
Alexandre Oliva
aoliva@redhat.com
Wed Jun 21 21:26:00 GMT 2000
On Jun 21, 2000, ASe User <menzies1@airmail.net> wrote:
> Program received signal SIGBUS, Bus error.
> 0x2809fd70 in strtok_r () from /usr/lib/libc.so.3
strtok modifies the string it is given, so you must not pass it a
pointer into a string literal, because string literals are read-only
(unless you compile with -fwritable-strings)
--
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