curl/.github/workflows
renovate[bot] f988842d85
tool_getpass: make local getpass_r() a dummy for UWP
The CRT call `getch()` isn't supported on Windows UWP. This function is
used to implement `getpass_r()` for reading a password from the console,
for platforms not supporting it natively. This patch makes this function
a dummy, so password entry from the command-line is no longer supported
for UWP apps. Though it probably did not work before this patch, due to:

CRT headers do declare `getch()`, but it's missing from the CRT DLL.

MSDN documents it as unsupported for UWP:
https://learn.microsoft.com/cpp/c-runtime-library/reference/getch
https://learn.microsoft.com/cpp/c-runtime-library/reference/getch-getwch

Same is true for the non-deprecated `_getch()` function.

After mingw-w64 synced its implib with `msvcr120_app.dll`, the CI job
`mingw, CM x86_64 schannel R uwp` broke with:
```
[16/16] Linking C executable src\curl.exe
FAILED: src/curl.exe
[...]
D:/a/_temp/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
  src/CMakeFiles/curl.dir/Unity/unity_0_c.c.obj:unity_0_c.c:(.text+0x4d05): undefined reference to `getch'
```
Ref: https://github.com/curl/curl/actions/runs/11873795410/job/33089008727?pr=15597#step:19:25

Also:
- GHA/windows: bump `msys2/setup-msys2` action to
  https://github.com/msys2/setup-msys2/commit/c52d1fa
  This triggered the build failure above.
  Closes #15597

Ref: d408f51e5a/tree/mingw-w64-crt/def-include/crt-aliases.def.in

Closes #15637
2024-11-25 23:57:20 +01:00
..
appveyor-status.yml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
checkdocs.yml GHA: update four dependencies 2024-11-09 14:30:53 +01:00
checksrc.yml CI: update dependencies 2024-11-16 18:26:21 +01:00
codeql-analysis.yml CI: update dependencies 2024-11-16 18:26:21 +01:00
configure-vs-cmake.yml GHA: update five dependencies 2024-10-24 10:03:31 +02:00
curl-for-win.yml GHA: update five dependencies 2024-10-24 10:03:31 +02:00
distcheck.yml GHA: update five dependencies 2024-10-24 10:03:31 +02:00
fuzz.yml CI: move Azure jobs to GHA, fix fallouts, sshserver, runtests tweaks 2024-09-16 10:00:17 +02:00
hacktoberfest-accepted.yml GHA: update five dependencies 2024-10-24 10:03:31 +02:00
http3-linux.yml GHA: speed up 3 openssl/quictls builds 3x 2024-11-24 03:50:35 +01:00
label.yml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
linux-old.yml GHA/linux-old: adjust configure job name 2024-10-31 13:26:27 +01:00
linux.yml GHA: source mbedTLS from official tarball 2024-11-24 17:59:47 +01:00
macos.yml GHA/macos: enable ECH in wolfSSL jobs 2024-11-17 20:13:13 +01:00
non-native.yml GHA/non-native: streamline installed packages on FreeBSD 2024-11-12 13:02:44 +01:00
windows.yml tool_getpass: make local getpass_r() a dummy for UWP 2024-11-25 23:57:20 +01:00