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)
Thu, Jun 11, 4:43 AM
Unknown Object (File)
Wed, May 27, 11:59 PM
Unknown Object (File)
May 18 2026, 9:39 AM
Unknown Object (File)
May 18 2026, 1:39 AM
Unknown Object (File)
May 17 2026, 9:12 PM
Unknown Object (File)
May 16 2026, 7:33 PM
Unknown Object (File)
May 16 2026, 7:33 PM
Unknown Object (File)
May 16 2026, 7:32 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.