don't omit setting errno in internal __map_file function
authorRich Felker <dalias@aerifal.cx>
Tue, 23 Oct 2018 01:37:50 +0000 (21:37 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 23 Oct 2018 01:37:50 +0000 (21:37 -0400)
commit1b52863e244ecee5b5935b6d36bb9e6efe84c035
tree9646de3f3128df229605f4eef95c02813dcef187
parent5af1f5942b2068d99182991dc212bdb3f5e9973d
don't omit setting errno in internal __map_file function

a caller needs the reason for open (or fstat, albeit unlikely) failure
if it's going to make decisions about continuing a path search or
similar.
src/time/__map_file.c