Files
swift-nio/Sources
Cory Benfield 19444825fa Actually report errors when hitting blacklisted errnos. (#610)
Motivation:

It's not all that useful to print the value of the pointer from sterror.
Instead we should aim to print the string. While we're here, let's avoid
repeating too much code.

Modifications:

- Centralised the handling of blacklisted errnos.
- Correctly printed the error string when a blacklisted errno is hit.
- Updated the output of the assertion to include the function failing.

Result:

Better diagnostics when blacklisted errnos are hit.
2018-09-10 10:58:50 +01:00
..
2017-12-15 09:50:12 +00:00