as errno doesn't have a meaningful value in this case. Reported by Mike Grupenhoff <kashmir@umiacs.umd.edu> in PR #2289.