[Pkg-shadow-commits] r1583 - in upstream/trunk: . lib
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Mon Dec 31 20:12:49 UTC 2007
Author: nekral-guest
Date: 2007-12-31 20:12:48 +0000 (Mon, 31 Dec 2007)
New Revision: 1583
Modified:
upstream/trunk/ChangeLog
upstream/trunk/lib/commonio.h
Log:
Fix the type of the bitfields in the commonio_entry and commonio_db
structures to unsigned int (instead of int).
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2007-12-31 15:34:29 UTC (rev 1582)
+++ upstream/trunk/ChangeLog 2007-12-31 20:12:48 UTC (rev 1583)
@@ -1,5 +1,10 @@
2007-12-31 Nicolas François <nicolas.francois at centraliens.net>
+ * lib/commonio.h: Fix the type of the bitfields in the commonio_entry
+ and commonio_db structures to unsigned int (instead of int).
+
+2007-12-31 Nicolas François <nicolas.francois at centraliens.net>
+
* src/chsh.c: Split process_flags(), check_perms(), and update_shell()
out of main().
* src/chsh.c: Before pam_end(), the return value of the previous
Modified: upstream/trunk/lib/commonio.h
===================================================================
--- upstream/trunk/lib/commonio.h 2007-12-31 15:34:29 UTC (rev 1582)
+++ upstream/trunk/lib/commonio.h 2007-12-31 20:12:48 UTC (rev 1583)
@@ -10,7 +10,7 @@
char *line;
void *eptr; /* struct passwd, struct spwd, ... */
struct commonio_entry *prev, *next;
- int changed:1;
+ unsigned int changed:1;
};
/*
@@ -93,10 +93,10 @@
/*
* Various flags.
*/
- int changed:1;
- int isopen:1;
- int locked:1;
- int readonly:1;
+ unsigned int changed:1;
+ unsigned int isopen:1;
+ unsigned int locked:1;
+ unsigned int readonly:1;
};
extern int commonio_setname (struct commonio_db *, const char *);
More information about the Pkg-shadow-commits
mailing list