[Pkg-shadow-commits] r2720 - upstream/trunk/src

Nicolas FRANÇOIS nekral-guest at alioth.debian.org
Mon Apr 20 12:17:39 UTC 2009


Author: nekral-guest
Date: 2009-04-20 12:17:38 +0000 (Mon, 20 Apr 2009)
New Revision: 2720

Modified:
   upstream/trunk/src/login.c
Log:
	* src/login.c: We do not need to keep the old umask. Discard the
	umask() return value.


Modified: upstream/trunk/src/login.c
===================================================================
--- upstream/trunk/src/login.c	2009-04-20 12:16:07 UTC (rev 2719)
+++ upstream/trunk/src/login.c	2009-04-20 12:17:38 UTC (rev 2720)
@@ -553,7 +553,7 @@
 	setup_tty ();
 
 #ifndef USE_PAM
-	umask (getdef_num ("UMASK", GETDEF_DEFAULT_UMASK));
+	(void) umask (getdef_num ("UMASK", GETDEF_DEFAULT_UMASK));
 
 	{
 		/* 




More information about the Pkg-shadow-commits mailing list