Page MenuHomeFreeBSD

cat: restore errno
ClosedPublic

Authored by oshogbo on Jan 15 2021, 8:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 7, 8:15 PM
Unknown Object (File)
Wed, Oct 7, 6:56 PM
Unknown Object (File)
Wed, Oct 7, 6:27 PM
Unknown Object (File)
Wed, Oct 7, 5:24 AM
Unknown Object (File)
Sun, Sep 20, 1:39 PM
Unknown Object (File)
Fri, Sep 18, 9:55 AM
Unknown Object (File)
Wed, Sep 16, 4:11 PM
Unknown Object (File)
Sep 14 2026, 1:23 PM
Subscribers

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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable