lkml.org 
[lkml]   [2005]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] exterminate strtok
Date
In 1999 Ingo Oeser commented in lib/string.c :
* - Added strsep() which will replace strtok() soon (because strsep() is
* reentrant and should be faster). Use only strsep() in new code, please.
Then in 2002 strtok was removed.

There are still a few cases of strtok in the kernel to this day. The following
3 patches exterminates them.

Let me say up front that the first two patches have *not* been tested since I
lack both the appropriate hardware and suitable cross compiler. They are fairly
simple though, so I doubt they'll be troublesome, but I'd greatly appreciate if
someone else would validate them and sign off on them before I send them on to
Andrew for inclusion in -mm. The third patch /has/ seen limited testing, but it
would still be nice to have someone look it over and sign off on it.


--
Jesper Juhl <jesper.juhl@gmail.com>



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

\
 
 \ /
  Last update: 2005-08-24 21:09    [W:0.023 / U:5.008 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site