curl/tests/server
Viktor Szakats 45438c8d6f
checksrc: reduce directory-specific exceptions
By making them defaults, then fixing and/or reshuffling remaining
exceptions as necessary.

- checksrc: ban by default: `snprintf`, `vsnprintf`, `sscanf`, `strtol`.
- examples: replace `strtol` with `atoi` to avoid a checksrc exception.
- tests/libtest: replace `strtol` with `atol`.
- tests/server: replace most `strtol` with `atol`.
- tests/server: replace most `strtoul` with `atol`/`atoi`.
- tests/server: drop no longer used `util_ultous`.
- fix typo in checksrc rules: `vsnprint` -> `vsnprintf`.
- update local exceptions.

Also:
- examples: ban curl printf functions. They're discouraged in user code.
- examples: replace curl printf with system printf.
  Add `snprintf` workaround for <VS2015.
- examples/synctime: fix `-Wfloat-equal`.
- examples/synctime: exclude for non-Windows and non-UWP Windows.
- examples/synctime: build by default.

Closes #18823
2025-10-04 00:48:58 +02:00
..
.checksrc checksrc: reduce directory-specific exceptions 2025-10-04 00:48:58 +02:00
.gitignore tests: always make bundles, adapt build and tests 2025-06-14 21:08:23 +02:00
CMakeLists.txt build: tidy up compiler definition for tests 2025-07-28 12:43:01 +02:00
dnsd.c checksrc: reduce directory-specific exceptions 2025-10-04 00:48:58 +02:00
first.c tests: make individual test sources compile cleanly 2025-06-22 15:58:15 +02:00
first.h checksrc: reduce directory-specific exceptions 2025-10-04 00:48:58 +02:00
getpart.c GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
Makefile.am build: tidy up compiler definition for tests 2025-07-28 12:43:01 +02:00
Makefile.inc build: avoid overriding system symbols for fopen functions 2025-09-30 01:10:36 +02:00
memptr.c windows: drop redundant curl_wcsdup_callback callback 2025-07-08 13:33:38 +02:00
mqttd.c checksrc: reduce directory-specific exceptions 2025-10-04 00:48:58 +02:00
resolve.c tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
rtspd.c checksrc: reduce directory-specific exceptions 2025-10-04 00:48:58 +02:00
sockfilt.c checksrc: reduce directory-specific exceptions 2025-10-04 00:48:58 +02:00
socksd.c checksrc: reduce directory-specific exceptions 2025-10-04 00:48:58 +02:00
sws.c checksrc: reduce directory-specific exceptions 2025-10-04 00:48:58 +02:00
tftpd.c checksrc: reduce directory-specific exceptions 2025-10-04 00:48:58 +02:00
util.c checksrc: reduce directory-specific exceptions 2025-10-04 00:48:58 +02:00