MFC after: 1 week
Sponsored by: Klara, Inc.
Details
Details
- Reviewers
markj - Group Reviewers
Klara - Commits
- rG54117b169fba: cmp: Print a summary on SIGINFO.
rG6673a5476d02: cmp: Print a summary on SIGINFO.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
It's not obvious to me why we bother with the ifdefs. Most other utilities in the base system don't conditionalize SIGINFO support, but I guess it doesn't hurt.
Comment Actions
Well, extern.h needs the #ifdef unless we want to #include <signal.h> in link.c and misc.c, which don't need it, and the remaining #ifdefs a) don't hurt and b) make the code easier for others to pull if they want to. I initially also put in a bit that defined SIGINFO to SIGVTALRM if the latter is defined but the former is not but took it out.