From: Jesper Juhl <jesper.juhl@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH 0/3] exterminate strtok
Date: Wed, 24 Aug 2005 21:06:06 +0200 [thread overview]
Message-ID: <200508242106.06123.jesper.juhl@gmail.com> (raw)
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>
reply other threads:[~2005-08-24 19:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200508242106.06123.jesper.juhl@gmail.com \
--to=jesper.juhl@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®