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

From: Sam Ravnborg
Date: Fri Mar 18 2005 - 00:33:25 EST


On Fri, Mar 18, 2005 at 03:46:20AM +0100, Nicolas Kaiser wrote:
> * 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

It does not matter in this particular file.
But applied for consistency (so it does not show up if you grep for it).

Sam
-
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/