[Pkg-shadow-commits] r2031 - in upstream/trunk: . libmisc
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Sun May 25 22:51:47 UTC 2008
Author: nekral-guest
Date: 2008-05-25 22:51:46 +0000 (Sun, 25 May 2008)
New Revision: 2031
Modified:
upstream/trunk/ChangeLog
upstream/trunk/libmisc/age.c
Log:
Avoid implicit conversion of integers to booleans.
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2008-05-25 22:49:41 UTC (rev 2030)
+++ upstream/trunk/ChangeLog 2008-05-25 22:51:46 UTC (rev 2031)
@@ -1,5 +1,10 @@
2008-05-26 Nicolas François <nicolas.francois at centraliens.net>
+ * libmisc/age.c: Avoid implicit conversion of integers to
+ booleans.
+
+2008-05-26 Nicolas François <nicolas.francois at centraliens.net>
+
* libmisc/rlogin.c: Avoid assignments in comparisons.
* libmisc/rlogin.c: Avoid implicit conversion of integers to
booleans.
Modified: upstream/trunk/libmisc/age.c
===================================================================
--- upstream/trunk/libmisc/age.c 2008-05-25 22:49:41 UTC (rev 2030)
+++ upstream/trunk/libmisc/age.c 2008-05-25 22:51:46 UTC (rev 2031)
@@ -123,7 +123,7 @@
* passwd to work just like it would had they executed
* it from the command line while logged in.
*/
- if (setup_uid_gid (pw, 0))
+ if (setup_uid_gid (pw, 0) != 0)
_exit (126);
execl (PASSWD_PROGRAM, PASSWD_PROGRAM, pw->pw_name, (char *) 0);
More information about the Pkg-shadow-commits
mailing list