Use strsigname() to print signal names in the debug output.
If the system has no strsigname(), use our own.
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user