Page MenuHomeFreeBSD

libc: unsplit log message to to make it greppable in src
ClosedPublic

Authored by emaste on Apr 17 2023, 4:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 12 2024, 2:50 AM
Unknown Object (File)
Sep 8 2024, 12:45 PM
Unknown Object (File)
Sep 8 2024, 11:55 AM
Unknown Object (File)
Sep 8 2024, 11:35 AM
Unknown Object (File)
Sep 8 2024, 4:31 AM
Unknown Object (File)
Sep 7 2024, 5:30 PM
Unknown Object (File)
Sep 7 2024, 7:26 AM
Unknown Object (File)
Sep 6 2024, 7:11 PM
Subscribers

Details

Summary

Also use func rather than hardcoding the function name. This code now fits in 80 columns without splitting the log message.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste created this revision.
zlei added inline comments.
lib/libc/stdlib/cxa_thread_atexit_impl.c
113

Will __func__ be expanded to __cxa_thread_call_dtors ?

lib/libc/stdlib/cxa_thread_atexit_impl.c
113

Nope, __func__ is always the name of the enclosing function, in this case walk_cb_call. @emaste maybe this will confuse people?

Ok, __cxa_thread_call_dtors is more useful for tracking this down so restore explicit function name (and just accept > 80 cols)

upload diff relative to main, not the fixup change

This revision is now accepted and ready to land.Apr 23 2023, 1:16 AM