Page MenuHomeFreeBSD

libc: only append exterr herald and text if exterr was recorded
ClosedPublic

Authored by kib on Jul 8 2025, 2:05 PM.
Tags
None
Referenced Files
F132018009: D51204.id158169.diff
Mon, Oct 13, 12:00 AM
F132018006: D51204.id.diff
Mon, Oct 13, 12:00 AM
F132018005: D51204.id158158.diff
Mon, Oct 13, 12:00 AM
Unknown Object (File)
Sun, Oct 12, 12:30 PM
Unknown Object (File)
Fri, Oct 3, 4:49 PM
Unknown Object (File)
Sat, Sep 27, 8:56 PM
Unknown Object (File)
Sat, Sep 27, 3:16 PM
Unknown Object (File)
Thu, Sep 25, 1:22 PM
Subscribers

Details

Summary
__uexterr_format: return empty string on no error, instead of "No error"
err(): check for the first symbol of the exterr to decide if there is
anything to print.

Requested by:   markj

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Jul 8 2025, 2:05 PM
This revision is now accepted and ready to land.Jul 8 2025, 3:45 PM

I verified that the test failures are gone now, thank you.