curl-curl/tests/server
Viktor Szakats 31a4f415af
build: tidy up and dedupe strdup functions
- de-dupe lib/src strdup/memdup functions into curlx.
- introduce `CURLX_STRDUP_LOW()` for mapping `strdup()`, and to do it at
  one place within the code, in `curl_setup.h`.
- tests/server: use `curlx_strdup()`. (Also to fix building without
  a system `strdup()`.)
- curlx/curlx.h: shorten and tidy up.
- adjust Windows build path to not need `HAVE_STRDUP`.
- build: stop detecting `HAVE_STRDUP` on Windows.

Closes #20497
2026-02-03 14:02:30 +01:00
..
.checksrc build: tidy up and dedupe strdup functions 2026-02-03 14:02:30 +01:00
.gitignore tests: always make bundles, adapt build and tests 2025-06-14 21:08:23 +02:00
CMakeLists.txt localtime: detect thread-safe alternatives and use them 2025-12-16 14:30:06 +01:00
dnsd.c build: use more const 2026-02-02 12:32:49 +01:00
first.c build: use more const 2026-02-02 12:32:49 +01:00
first.h build: tidy up and dedupe strdup functions 2026-02-03 14:02:30 +01:00
getpart.c build: use more const 2026-02-02 12:32:49 +01:00
Makefile.am localtime: detect thread-safe alternatives and use them 2025-12-16 14:30:06 +01:00
Makefile.inc curlx: curlx_strcopy() instead of strcpy() 2025-12-22 23:01:05 +01:00
mqttd.c build: use more const 2026-02-02 12:32:49 +01:00
resolve.c build: use more const 2026-02-02 12:32:49 +01:00
rtspd.c build: use more const 2026-02-02 12:32:49 +01:00
sockfilt.c build: use more const 2026-02-02 12:32:49 +01:00
socksd.c build: use more const 2026-02-02 12:32:49 +01:00
sws.c build: use more const 2026-02-02 12:32:49 +01:00
tftpd.c build: tidy up and dedupe strdup functions 2026-02-03 14:02:30 +01:00
util.c build: tidy up curl-specific fstat calls and stat struct type 2026-02-02 18:57:13 +01:00