Hopefully more portable errno check.

2 files changed