+2008-01-26 Nicolas François <nicolas.francois@centraliens.net>
+
+ Fix build failures with --disable-shadowgrp. Thanks to Jürgen
+ Daubert for the patch.
+ * libmisc/salt.c: Include <stdio.h>, needed for stderr and printf
+ functions.
+ * lib/encrypt.c: Include <stdio.h>, needed for perror, stderr and
+ printf functions
+ * src/usermod.c: sgr_locked exists only if SHADOWGRP is defined.
+ * src/chgpasswd.c: Only check is the gshadow file exists if
+ SHADOWGRP is defined.
+
2008-01-24 Nicolas François <nicolas.francois@centraliens.net>
* src/gpasswd.c, src/chfn.c, src/chage.c, src/chsh.c, src/grpck.c,
#ident "$Id$"
+#include <stdio.h>
+
#include "prototypes.h"
#include "defines.h"
#include "commonio.h"
* same name, password and gid.
*
* It merge the members of the second entry in the first one, and return
- * the modified first entry on success, or NUll on failure (with errno
+ * the modified first entry on success, or NULL on failure (with errno
* set).
*/
static struct commonio_entry *merge_group_entries (struct commonio_entry *gr1,