* src/expiry.c: Ignore the return value of signal().

This commit is contained in:
nekral-guest 2008-06-13 20:57:20 +00:00
parent e50ff5c7b5
commit 398cf8ee6f
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2008-06-13 Nicolas François <nicolas.francois@centraliens.net>
* src/expiry.c: Ignore the return value of signal().
2008-06-13 Nicolas François <nicolas.francois@centraliens.net>
* src/newusers.c: Fix the check for GID/UID validity.

View File

@ -79,11 +79,11 @@ int main (int argc, char **argv)
/*
* Start by disabling all of the keyboard signals.
*/
signal (SIGHUP, catch_signals);
signal (SIGINT, catch_signals);
signal (SIGQUIT, catch_signals);
(void) signal (SIGHUP, catch_signals);
(void) signal (SIGINT, catch_signals);
(void) signal (SIGQUIT, catch_signals);
#ifdef SIGTSTP
signal (SIGTSTP, catch_signals);
(void) signal (SIGTSTP, catch_signals);
#endif
/*