mirror of
https://github.com/apple/swift-system
synced 2026-11-24 04:38:14 +00:00
strerror_s on Windows and bionic's strerror_r truncate without returning an error, so detect a full buffer in the shim instead. Also avoid the deprecated String(cString:) array overload in the test.