tech-userlevel archive

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

Re: strtok_r strange failure

On Wed, Feb 05, 2014 at 09:16:01AM +0100, Rhialto wrote:
> First thought: header file not included, so strtok_r is not declared and
> defaults to returning int.

Worse than that: heander included, but missing _POSIX_C_SOURCE=199506
so that strtok_t() is not defined. Wow, this is tough.

Thank you for pointing it. I will add a patch in pkgsrc to fix that

Emmanuel Dreyfus

Home | Main Index | Thread Index | Old Index