[svn-upgrade] Integrating new upstream version, shadow (4.0.0)

This commit is contained in:
nekral-guest
2007-10-07 11:44:51 +00:00
parent 8fee8c57ae
commit 3bc4996775
260 changed files with 36835 additions and 18839 deletions

View File

@ -4,7 +4,7 @@
#ifdef SHADOWPWD
#include "rcsid.h"
RCSID("$Id: shadowio.c,v 1.12 2000/09/02 18:40:43 marekm Exp $")
RCSID("$Id: shadowio.c,v 1.13 2001/08/14 21:10:36 malekith Exp $")
#include "prototypes.h"
#include "defines.h"
@ -168,4 +168,13 @@ __spw_del_entry(const struct commonio_entry *ent)
{
commonio_del_entry(&shadow_db, ent);
}
/* Sort with respect to passwd ordering. */
int
spw_sort()
{
extern struct commonio_db *__pw_get_db();
return commonio_sort_wrt(&shadow_db, __pw_get_db());
}
#endif