]> git.ipfire.org Git - thirdparty/curl.git/commit
lib: use Curl_str_* instead of strtok_r()
authorDaniel Stenberg <daniel@haxx.se>
Mon, 17 Feb 2025 08:43:45 +0000 (09:43 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 17 Feb 2025 12:18:28 +0000 (13:18 +0100)
commit676de7f580cd81a17dee7f9ffa108a2710afed5d
tree804e40e3c24709d39f5de37699f744442637b80f
parent076444ec467576a1839148c48db1d92d9a1c59c7
lib: use Curl_str_* instead of strtok_r()

Helps avoid extra mallocs. Gets rid of the private strtok_r
implementation.

Closes #16360
26 files changed:
CMake/unix-cache.cmake
CMake/win32-cache.cmake
CMakeLists.txt
configure.ac
lib/.checksrc
lib/Makefile.inc
lib/config-os400.h
lib/config-plan9.h
lib/config-riscos.h
lib/config-win32.h
lib/cookie.c
lib/curl_config.h.cmake
lib/curl_sasl.c
lib/curl_setup.h
lib/curl_trc.c
lib/ldap.c
lib/strparse.c
lib/strparse.h
lib/strtok.c [deleted file]
lib/strtok.h [deleted file]
lib/url.c
lib/vauth/cleartext.c
lib/vauth/digest.c
lib/vtls/sectransp.c
m4/curl-functions.m4
m4/curl-reentrant.m4