HomeFreeBSD

cat: persistent errno

Description

cat: persistent errno

There is no guarantee that after close(2)/free the errno will remain
persistent. The caller of the udom_open function depends on the errno
for reporting errors.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D28185

Details

Provenance
oshogboAuthored on Jan 16 2021, 11:55 AM
Reviewer
markj
Differential Revision
D28185: cat: restore errno
Parents
rG8ca9ff4f28d2: mips: Fix build by using the correct device-tree include path
Branches
Unknown
Tags
Unknown