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