Use strsigname() to print signal names in the debug output.

If the system has no strsigname(), use our own.
This commit is contained in:
Todd C. Miller
2012-08-26 20:12:51 -04:00
parent ac4b21b3e2
commit 537dc94b9e
13 changed files with 457 additions and 22 deletions

View File

@@ -376,5 +376,8 @@ int unsetenv(const char *);
#ifndef HAVE_STRSIGNAL
char *strsignal(int);
#endif
#ifndef HAVE_STRSIGNAME
char *strsigname(int);
#endif
#endif /* _SUDO_MISSING_H */