]> git.ipfire.org Git - thirdparty/curl.git/commit
tidy-up: miscellaneous
authorViktor Szakats <commit@vsz.me>
Fri, 12 Dec 2025 19:51:52 +0000 (20:51 +0100)
committerViktor Szakats <commit@vsz.me>
Thu, 18 Dec 2025 20:27:58 +0000 (21:27 +0100)
commit308c347c8b5d36e6eefeff7fbf5e419a5f621e5a
tree85ea4ca0b65321e637ed020bc3329c1f57b10cf3
parentcd9da30e761dc5633e9329e949158dd00bed4eee
tidy-up: miscellaneous

- apply more clang-format.
- lib/version: use `CURL_ARRAYSIZE()`.
- INSTALL-CMAKE.md: sync-up an option description with others.
- examples: delete unused main args.
- examples/ftpgetinfo: document `_CRT_SECURE_NO_WARNINGS` symbol.
- delete remaining stray duplicate lines.
- acinclude.m4: drop an unnecessary x-hack.
- vtls/mbedtls: join a URL split into two lines.
- src/tool_cb_see: add parentheses around macro expressions.
- src/tool_operate: move literals to the right side of comparisons.
- libtests: sync up fopen/fstat error messages between tests.
- curl_setup.h: replace `if ! defined __LP64` with `ifndef __LP64`.
  I assume it makes no difference on Tandem systems, as the latter form
  is already used in `include/curl/system.h`.

Closes #20018
53 files changed:
acinclude.m4
docs/INSTALL-CMAKE.md
docs/examples/ephiperfifo.c
docs/examples/evhiperfifo.c
docs/examples/ftpgetinfo.c
docs/examples/hiperfifo.c
lib/conncache.c
lib/content_encoding.c
lib/curl_setup.h
lib/curl_setup_once.h
lib/easy.c
lib/easy_lock.h
lib/ftp.c
lib/imap.c
lib/mime.c
lib/rtsp.c
lib/smtp.c
lib/telnet.c
lib/tftp.c
lib/urldata.h
lib/version.c
lib/vquic/vquic.c
lib/vssh/libssh.c
lib/vssh/libssh2.c
lib/vtls/mbedtls.c
lib/vtls/openssl.c
lib/vtls/schannel.c
lib/vtls/wolfssl.c
lib/vtls/x509asn1.c
lib/ws.c
m4/curl-reentrant.m4
scripts/managen
src/tool_cb_prg.c
src/tool_cb_prg.h
src/tool_cb_see.c
src/tool_cfgable.h
src/tool_filetime.c
src/tool_formparse.c
src/tool_libinfo.c
src/tool_listhelp.c
src/tool_msgs.c
src/tool_operate.c
src/tool_paramhlp.c
src/tool_setup.h
src/tool_writeout_json.c
src/tool_writeout_json.h
tests/libtest/lib505.c
tests/libtest/lib525.c
tests/libtest/lib541.c
tests/libtest/lib568.c
tests/libtest/lib572.c
tests/test1139.pl
tests/unit/unit1664.c