[Pkg-shadow-commits] r2153 - in upstream/trunk: . src

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Fri Jun 13 20:57:20 UTC 2008


Author: nekral-guest
Date: 2008-06-13 20:57:20 +0000 (Fri, 13 Jun 2008)
New Revision: 2153

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/src/expiry.c
Log:
	* src/expiry.c: Ignore the return value of signal().


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2008-06-13 20:56:44 UTC (rev 2152)
+++ upstream/trunk/ChangeLog	2008-06-13 20:57:20 UTC (rev 2153)
@@ -1,5 +1,9 @@
 2008-06-13  Nicolas François  <nicolas.francois at centraliens.net>
 
+	* src/expiry.c: Ignore the return value of signal().
+
+2008-06-13  Nicolas François  <nicolas.francois at centraliens.net>
+
 	* src/newusers.c: Fix the check for GID/UID validity.
 	* src/newusers.c: Comment why we use both getgrgid() and
 	gr_locate_gid().

Modified: upstream/trunk/src/expiry.c
===================================================================
--- upstream/trunk/src/expiry.c	2008-06-13 20:56:44 UTC (rev 2152)
+++ upstream/trunk/src/expiry.c	2008-06-13 20:57:20 UTC (rev 2153)
@@ -79,11 +79,11 @@
 	/* 
 	 * 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
 
 	/*




More information about the Pkg-shadow-commits mailing list