mirror of
https://github.com/apple/swift-system
synced 2026-11-22 04:30:46 +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.