git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATH/RFC] Revert "compat: add strtok_r()"

From
Erik Faye-Lund <kusmabite@gmail.com>
Date
Feb 1, 2013, 10:37 UTC
Message-ID
<CABPQNSYZgvX+uutLjAiaDOurFSe0YVNGzUG1jOAMZw7JrETbLw@mail.gmail.com>
In-Reply-To
<1359714786-1912-1-git-send-email-kusmabite@gmail.com>
On Fri, Feb 1, 2013 at 11:33 AM, Erik Faye-Lund <kusmabite@gmail.com> wrote:
Show 15 quoted lines
> This reverts commit 78457bc0ccc1af8b9eb776a0b17986ebd50442bc.
>
> commit 28c5d9e ("vcs-svn: drop string_pool") previously removed
> the only call-site for strtok_r. So let's get rid of the compat
> implementation as well.
>
> Conflicts:
>         Makefile
>         config.mak.in
>         configure.ac
> ---
>
> I just noticed that we have an unused compat-implementation of strtok_r,
> so here's a patch to get rid of it.
>
Ugh, I forgot this part:
diff --git a/config.mak.uname b/config.mak.uname
index bea34f0..7f3018f 100644
--- a/config.mak.uname
+++ b/config.mak.uname
@@ -321,7 +321,6 @@ ifeq ($(uname_S),Windows)
 	NO_UNSETENV = YesPlease
 	NO_STRCASESTR = YesPlease
 	NO_STRLCPY = YesPlease
-	NO_STRTOK_R = YesPlease
 	NO_FNMATCH = YesPlease
 	NO_MEMMEM = YesPlease
 	# NEEDS_LIBICONV = YesPlease
@@ -476,7 +475,6 @@ ifneq (,$(findstring MINGW,$(uname_S)))
 	NO_UNSETENV = YesPlease
 	NO_STRCASESTR = YesPlease
 	NO_STRLCPY = YesPlease
-	NO_STRTOK_R = YesPlease
 	NO_FNMATCH = YesPlease
 	NO_MEMMEM = YesPlease
 	NEEDS_LIBICONV = YesPlease
Previous: Erik Faye-LundNext: Jonathan Nieder
Message 2 of 5 in “[PATH/RFC] Revert "compat: add strtok_r()"”
  1. Erik Faye-LundFeb 1, 2013
  2. Erik Faye-LundFeb 1, 2013
  3. Jonathan NiederFeb 1, 2013
  4. Junio C HamanoFeb 25, 2013
  5. Erik Faye-LundFeb 26, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.