mirror of
https://github.com/curl/curl.git
synced 2026-06-28 00:33:11 +03:00
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
17 lines
335 B
Text
17 lines
335 B
Text
allowfunc fclose
|
|
allowfunc fdopen
|
|
allowfunc fopen
|
|
allowfunc gmtime
|
|
allowfunc localtime
|
|
allowfunc open
|
|
allowfunc snprintf
|
|
allowfunc socket
|
|
allowfunc sscanf
|
|
banfunc curl_maprintf
|
|
banfunc curl_mfprintf
|
|
banfunc curl_mprintf
|
|
banfunc curl_msnprintf
|
|
banfunc curl_mvaprintf
|
|
banfunc curl_mvfprintf
|
|
banfunc curl_mvprintf
|
|
banfunc curl_mvsnprintf
|