Page MenuHomeFreeBSD

cat: restore errno
ClosedPublic

Authored by oshogbo on Jan 15 2021, 8:43 PM.

Details

Summary

There is no guarantee that after close(2)/free the errno will be
persist. The caller of the udom_open function depends on the errno to
report errors.

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.