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
Unknown Object (File)
Wed, Jan 21, 7:10 AM
Unknown Object (File)
Tue, Jan 20, 1:18 PM
Unknown Object (File)
Tue, Jan 20, 10:26 AM
Unknown Object (File)
Sun, Jan 18, 10:36 AM
Unknown Object (File)
Dec 13 2025, 10:31 PM
Unknown Object (File)
Dec 7 2025, 8:27 AM
Unknown Object (File)
Nov 26 2025, 1:31 PM
Unknown Object (File)
Nov 26 2025, 6:40 AM
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.