Messages in this thread | | | Date | Fri, 18 Mar 2005 06:33:01 +0100 | From | Sam Ravnborg <> | Subject | Re: [patch 12/12] scripts/mod/sumversion.c: replace strtok() with strsep() |
| |
On Fri, Mar 18, 2005 at 03:46:20AM +0100, Nicolas Kaiser wrote: > * Sam Ravnborg <sam@ravnborg.org>: > > > On Sat, Mar 05, 2005 at 04:35:45PM +0100, domen@coderock.org 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |