tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: strtok_r strange failure

On Wed 05 Feb 2014 at 06:11:29 +0100, Emmanuel Dreyfus wrote:
> (gdb) print token
> $2 = 0xfffffffff7bc63e0 <Address 0xfffffffff7bc63e0 out of bounds>
> token is almost correct: only the upper 32 bytes are wrong. Any idea of
> what is going on?

First thought: header file not included, so strtok_r is not declared and
defaults to returning int.

___ Olaf 'Rhialto' Seibert  -- The Doctor: No, 'eureka' is Greek for
\X/ rhialto/at/    -- 'this bath is too hot.'

Attachment: pgpZpBvfKJCRD.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index