curl-curl/tests/server
Viktor Szakats a84b041281
build: tidy up curl-specific fstat calls and stat struct type
To avoid redefining the `fstat` system symbol, and to clarify
`struct_stat` is a curl symbol.

- introduce `curlx_fstat()` macro and use it.
- rename `struct_stat` to `curl_struct_stat`.

Also:
- tests: replace direct `curlx_win32_stat()` call with `curlx_stat()`.
- checksrc: disallow direct `_fstati64` and `fstat()` calls, except in
  examples.

Closes #20496
2026-02-02 18:57:13 +01:00
..
.checksrc build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +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: use more const 2026-02-02 12:32:49 +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: use more const 2026-02-02 12:32:49 +01:00
util.c build: tidy up curl-specific fstat calls and stat struct type 2026-02-02 18:57:13 +01:00