curl-curl/.github/scripts
Viktor Szakats 20142f5d06
build: avoid overriding system symbols for fopen functions
By introducing wrappers for them in the curlx namespace:
`curlx_fopen()`, `curlx_fdopen()`, `curlx_fclose()`.

The undefine/redefine/`(function)()` methods broke on systems
implementing these functions as macros. E.g. AIX 32-bit's `fopen()`.

Also:
- rename `lib/fopen.*` to `lib/curl_fopen.*` (for `Curl_fopen()`)
  to make room for the newly added `curlx/fopen.h`.
- curlx: move file-related functions from `multibyte.c` to `fopen.c`.
- tests/server: stop using the curl-specific `fopen()` implementation
  on Windows. Unicode isn't used by runtests, and it isn't critical to
  run tests on longs path. It can be re-enabled if this becomes
  necessary, or if the wrapper receives a feature that's critical for
  test servers.

Reported-by: Andrew Kirillov
Bug: https://github.com/curl/curl/issues/18510#issuecomment-3274393640

Follow-up to bf7375ecc5 #18503
Follow-up to 9863599d69 #18502
Follow-up to 3bb5e58c10 #17827

Closes #18634
2025-09-30 01:10:36 +02:00
..
badwords.pl scripts: fix two Perl uninitialized value warnings 2025-07-28 01:51:55 +02:00
badwords.txt misc: we write *an* IPv6 address 2025-05-30 07:53:31 +02:00
cleancmd.pl scripts: enable strict warnings in Perl where missing, fix fallouts 2025-07-27 22:35:18 +02:00
cmp-config.pl vssh: drop support for wolfSSH 2025-09-24 22:59:33 +02:00
cmp-pkg-config.sh GHA/configure-vs-cmake: check libcurl.pc/curl-config, fix issues 2024-09-21 12:08:35 +02:00
codespell-ignore.txt GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
codespell.sh build: drop the winbuild build system 2025-09-20 01:20:25 +02:00
distfiles.sh dist: do not distribute CI.md 2025-09-15 11:15:31 +02:00
randcurl.pl scripts: fix two Perl uninitialized value warnings 2025-07-28 01:51:55 +02:00
requirements-docs.txt GHA: use pyspelling directly 2025-09-25 16:59:27 +02:00
requirements.txt GHA: update dependency ruff and github/codeql-action 2025-09-25 21:53:53 +02:00
shellcheck-ci.sh CI: fix zizmor 1.9.0 warnings, shellcheck verify CI shell code, fix fallouts 2025-06-06 21:30:43 +02:00
shellcheck.sh CI: fix zizmor 1.9.0 warnings, shellcheck verify CI shell code, fix fallouts 2025-06-06 21:30:43 +02:00
spacecheck.pl build: drop the winbuild build system 2025-09-20 01:20:25 +02:00
spellcheck.curl multi: add new information extraction method 2025-08-04 23:48:57 +02:00
spellcheck.words krb5: drop support for Kerberos FTP 2025-09-20 23:58:28 +02:00
spellcheck.yaml GHA: use pyspelling directly 2025-09-25 16:59:27 +02:00
trimmarkdownheader.pl scripts: enable strict warnings in Perl where missing, fix fallouts 2025-07-27 22:35:18 +02:00
typos.sh GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
typos.toml build: drop the winbuild build system 2025-09-20 01:20:25 +02:00
verify-examples.pl build: avoid overriding system symbols for fopen functions 2025-09-30 01:10:36 +02:00
verify-synopsis.pl scripts: enable strict warnings in Perl where missing, fix fallouts 2025-07-27 22:35:18 +02:00
yamlcheck.sh GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
yamlcheck.yaml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00