Opened 6 years ago

Last modified 6 years ago

#10944 assigned bug

[strace] Signal description instead of signal name printed

Reported by: bonefish Owned by: bonefish
Priority: normal Milestone: R1
Component: Applications/Command Line Tools Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


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. 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 (1)

comment:1 by bonefish, 6 years ago

Owner: changed from nobody to bonefish
Status: newassigned
Note: See TracTickets for help on using tickets.