Review report

core: PR #36038

🟠 Major

Keep errno and native Windows errors in separate domains (src/util/syserror.cpp:14, head)

On Windows, system_category().message(err) interprets err as a native Windows error code, but SysErrorString also handles CRT errno values. For example, FileCommit passes errno after fflush fails (src/util/fs_helpers.cpp:111), while the changed Windows callers pass GetLastError(). Previously, SysErrorString formatted errno with strerror_s, and Win32ErrorString handled native errors separately. With this change, an errno value such as EACCES can be described as an unrelated Win32 error. Keep errno diagnostics on an errno or generic-category path and native Windows errors on the system-category path, routing callers by error domain.