Opened 10 years ago
Closed 3 years ago
#10944 closed bug (fixed)
[strace] Signal description instead of signal name printed
Reported by: | bonefish | Owned by: | korli |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta3 |
Component: | Applications/Command Line Tools | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
I broke printing the name of the signal when working on the signal support in 2011. Instead of the signal name (e.g. "SIGCHLD") and the signal description (e.g. "Child exited") it now prints the signal description twice. Cf. http://cgit.haiku-os.org/haiku/diff/src/bin/debug/strace/strace.cpp?id=24df65921befcd0ad0c5c7866118f922da61cb96 for the offending change.
It might be good to introduce a (semi public) libroot function to return the signal name, so we only have a single place we need to maintain. Alternatively the build system could generate the list from <signal.h>, though that might not be entirely trivial.
Change History (4)
comment:1 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 4 years ago
Milestone: | R1 → R1.1 |
---|
comment:3 by , 3 years ago
Milestone: | R1.1 → R1/beta3 |
---|---|
Owner: | changed from | to
Proposed change: https://review.haiku-os.org/c/haiku/+/4093