Builder curl-ares-solaris11-sparc Build #4729
Results:
Build successful
SourceStamp:
| Project | curl |
| Repository | https://github.com/curl/curl.git |
| Branch | master |
| Revision | 9e6f1c5efb7a70e1f33e467a738f3e3f652f3174 |
| Got Revision | 9e6f1c5efb7a70e1f33e467a738f3e3f652f3174 |
| Changes | 2 changes |
BuildSlave:
unstable11sReason:
The SingleBranchScheduler scheduler named 'schedule-curl-ares-solaris11-sparc' triggered this build
Steps and Logfiles:
Build Properties:
| Name | Value | Source |
|---|---|---|
| branch | master | Build |
| builddir | /export/home/buildbot/slave/curl-ares-solaris11-sparc | slave |
| buildername | curl-ares-solaris11-sparc | Builder |
| buildnumber | 4729 | Build |
| codebase | Build | |
| got_revision | 9e6f1c5efb7a70e1f33e467a738f3e3f652f3174 | Git |
| osplatform | SPARC | SetPropertyFromCommand Step |
| osrelease | 11 | SetPropertyFromCommand Step |
| project | curl | Build |
| repository | https://github.com/curl/curl.git | Build |
| revision | 9e6f1c5efb7a70e1f33e467a738f3e3f652f3174 | Build |
| scheduler | schedule-curl-ares-solaris11-sparc | Scheduler |
| slavename | unstable11s | BuildSlave |
| workdir | /export/home/buildbot/slave/curl-ares-solaris11-sparc | slave (deprecated) |
Forced Build Properties:
| Name | Label | Value |
|---|
Responsible Users:
- Viktor Szakatscommit@vsz.me
Timing:
| Start | Fri Nov 21 13:58:08 2025 |
| End | Fri Nov 21 14:02:57 2025 |
| Elapsed | 4 mins, 49 secs |
All Changes:
:
Change #249571
Category curl Changed by Viktor Szakats <commit@vsz.me> Changed at Fri 21 Nov 2025 13:48:35 Repository https://github.com/curl/curl.git Project curl Branch master Revision eaa7651374898cef89e5783b0219bdffcc0eb60e Comments
lib: replace `_tcsncpy`/`wcsncpy`/`wcscpy` with `_s` counterparts (Windows) Replace: - curl_sspi: macro `_tcsncpy()` with `_tcsncpy_s()`. - curlx/fopen: `wcsncpy()` with `wcsncpy_s()`. - curlx/fopen: `wcscpy()` with `wcscpy_s()`. Use of the pre-existing functions were safe. This patch aims to use the recommended Windows CRT functions. Handle errors returned by them. Also to avoid the compiler warnings silenced via `_CRT_SECURE_NO_WARNINGS`: ``` lib/curl_sspi.c(152): warning C4996: 'wcsncpy': This function or variable may be unsafe. Consider using wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. lib/curlx/fopen.c(161): warning C4996: 'wcsncpy': This function or variable may be unsafe. Consider using wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. lib/curlx/fopen.c(162): warning C4996: 'wcscpy': This function or variable may be unsafe. Consider using wcscpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. lib/curlx/fopen.c(174): warning C4996: 'wcsncpy': This function or variable may be unsafe. Consider using wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. lib/curlx/fopen.c(175): warning C4996: 'wcscpy': This function or variable may be unsafe. Consider using wcscpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. ``` Refs: https://learn.microsoft.com/cpp/c-runtime-library/reference/strncpy-strncpy-l-wcsncpy-wcsncpy-l-mbsncpy-mbsncpy-l https://learn.microsoft.com/cpp/c-runtime-library/reference/strncpy-s-strncpy-s-l-wcsncpy-s-wcsncpy-s-l-mbsncpy-s-mbsncpy-s-l https://learn.microsoft.com/cpp/c-runtime-library/security-features-in-the-crt Cherry-picked from #19581 (in part) Closes #19589
Changed files
- lib/curl_setup.h
- lib/curl_sspi.c
- lib/curlx/fopen.c
Change #249572
Category curl Changed by Viktor Szakats <commit@vsz.me> Changed at Fri 21 Nov 2025 13:48:35 Repository https://github.com/curl/curl.git Project curl Branch master Revision 9e6f1c5efb7a70e1f33e467a738f3e3f652f3174 Comments
build: add build-level `CURL_DISABLE_TYPECHECK` options Usage: - autotools: `--disable-typecheck` (or `--enable-typecheck` (default)) - cmake: `-DCURL_DISABLE_TYPECHECK=ON`. To disable `curl_easy_setopt()`/`curl_easy_getinfo()` type checking with supported (new) gcc and clang compilers. It is useful to improve build performance for the `tests/libtest` target. In particular the CodeQL analyzer may take above an hour to compile with type checking enabled, and disabling it brings it down to seconds. On local machines it may also cut build times in half when build testdeps, depending on platform and compiler. Other than these cases, we recommend leaving type checking enabled. Ref: fdacf34aaeac79ad14fa48dcafae24a6de68823d #19632 Also: - GHA/codeql: use it. - test1165: check in `include/curl`. - lib1912: delete stray todo comment. - spelling and comment nits. Closes #19637
Changed files
- .github/workflows/codeql.yml
- CMakeLists.txt
- configure.ac
- docs/CURL-DISABLE.md
- docs/INSTALL-CMAKE.md
- include/curl/typecheck-gcc.h
- lib/curl_config.h.cmake
- tests/libtest/lib1912.c
- tests/test1165.pl