Re: [patch 12/12] scripts/mod/sumversion.c: replace strtok() withstrsep()

From: Nicolas Kaiser
Date: Thu Mar 17 2005 - 21:49:10 EST


* Sam Ravnborg <sam@xxxxxxxxxxxx>:

> On Sat, Mar 05, 2005 at 04:35:45PM +0100, domen@xxxxxxxxxxxx wrote:
> >
> > Replaces strtok() with strsep()
>
> Why - does it increase portability?

"strtok() is not thread and SMP safe and strsep() should be
used instead"

http://janitor.kernelnewbies.org/docs/driver-howto.html#3.3.1

Cheers,
n.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/