+2008-05-26 Nicolas François <nicolas.francois@centraliens.net>
+
+ * lib/groupio.c: The changed, isopen, locked, and readonly fields
+ of the db are booleans.
+
2008-05-26 Nicolas François <nicolas.francois@centraliens.net>
* lib/sgetgrent.c: implicit conversion of pointers / chars to
NULL, /* head */
NULL, /* tail */
NULL, /* cursor */
- 0, /* changed */
- 0, /* isopen */
- 0, /* locked */
- 0 /* readonly */
+ false, /* changed */
+ false, /* isopen */
+ false, /* locked */
+ false /* readonly */
};
int gr_name (const char *filename)
void __gr_set_changed (void)
{
- group_db.changed = 1;
+ group_db.changed = true;
}
struct commonio_entry *__gr_get_head (void)
}
new_gptr = (struct group *)new->eptr;
new->line = NULL;
- new->changed = 1;
+ new->changed = true;
/* Enforce the maximum number of members on gptr */
gptr->gr_mem[max_members] = NULL;