Builder curl-threaded-solaris11-sparc Build #4935
Results:
Build successful
SourceStamp:
| Project | curl |
| Repository | https://github.com/curl/curl.git |
| Branch | master |
| Revision | be76b32aed8ba5ee96bbd924a3e3fdbe959b321b |
| Got Revision | be76b32aed8ba5ee96bbd924a3e3fdbe959b321b |
| Changes | 1 change |
BuildSlave:
unstable11sReason:
The SingleBranchScheduler scheduler named 'schedule-curl-threaded-solaris11-sparc' triggered this build
Steps and Logfiles:
Build Properties:
| Name | Value | Source |
|---|---|---|
| branch | master | Build |
| builddir | /export/home/buildbot/slave/curl-threaded-solaris11-sparc | slave |
| buildername | curl-threaded-solaris11-sparc | Builder |
| buildnumber | 4935 | Build |
| codebase | Build | |
| got_revision | be76b32aed8ba5ee96bbd924a3e3fdbe959b321b | Git |
| osplatform | SPARC | SetPropertyFromCommand Step |
| osrelease | 11 | SetPropertyFromCommand Step |
| project | curl | Build |
| repository | https://github.com/curl/curl.git | Build |
| revision | be76b32aed8ba5ee96bbd924a3e3fdbe959b321b | Build |
| scheduler | schedule-curl-threaded-solaris11-sparc | Scheduler |
| slavename | unstable11s | BuildSlave |
| workdir | /export/home/buildbot/slave/curl-threaded-solaris11-sparc | slave (deprecated) |
Forced Build Properties:
| Name | Label | Value |
|---|
Responsible Users:
- Viktor Szakatscommit@vsz.me
Timing:
| Start | Tue Dec 16 17:01:38 2025 |
| End | Tue Dec 16 17:05:08 2025 |
| Elapsed | 3 mins, 30 secs |
All Changes:
:
Change #252397
Category curl Changed by Viktor Szakats <commit@vsz.me> Changed at Tue 16 Dec 2025 16:30:43 Repository https://github.com/curl/curl.git Project curl Branch master Revision be76b32aed8ba5ee96bbd924a3e3fdbe959b321b Comments
idn: clarify null-termination on Windows Add comments to clarify that a terminating null is always present in the buffers returned to the caller. The curl APIs `win32_idn_to_ascii()` or `win32_ascii_to_idn()` receive a null-terminated UTF-8 string as input. They first convert it to wide chars by first asking `MultiByteToWideChar()` to calculate the length, by passing -1. This API returns the length with the null char included (= `strlen() + 1`), does the conversion, with the output also null-terminated. `IdnTo*()` preserve this null character as documented. Then we pass this null-terminated, fixed-length buffer ito `WideCharToMultiByte()`, which keeps preserving the null, ending up in the buffer returned to the caller. Refs: https://learn.microsoft.com/windows/win32/api/stringapiset/nf-stringapiset-multibytetowidechar https://learn.microsoft.com/windows/win32/api/stringapiset/nf-stringapiset-widechartomultibyte https://learn.microsoft.com/windows/win32/api/winnls/nf-winnls-idntoascii https://learn.microsoft.com/windows/win32/api/winnls/nf-winnls-idntounicode WINE source code: https://gitlab.winehq.org/wine/wine/-/blob/wine-10.20/dlls/kernelbase/locale.c https://gitlab.winehq.org/wine/wine/-/blob/wine-10.20/dlls/ntdll/locale.c https://gitlab.winehq.org/wine/wine/-/blob/wine-10.20/dlls/ntdll/locale_private.h Ref: https://github.com/curl/curl/pull/19976#issuecomment-3656005765 Follow-up to 6694a42aa0e820a6fe1e59d85ff8597b6d768d8d #19798 Closes #19980
Changed files
- lib/idn.c