Konstantin Belousov 741d78126b rtld: call close(2) after errno is saved
to prevent obliteration of error value from the original syscall.
Also improve error message for short read.

Submitted by:	Konrad Sewiłło-Jopek
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D27864
2021-01-02 04:43:32 +02:00
..
2020-09-11 13:28:37 +00:00
2019-12-11 17:37:53 +00:00
2020-09-09 00:39:47 +00:00
2019-11-12 22:31:59 +00:00
2019-12-04 16:56:11 +00:00
2019-12-11 17:37:53 +00:00
2020-04-06 23:16:05 +00:00
2020-09-09 00:39:47 +00:00