[svn-upgrade] Integrating new upstream version, shadow (4.0.17)
This commit is contained in:
@@ -277,9 +277,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign libmisc/Makefile'; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libmisc/Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign libmisc/Makefile
|
||||
$(AUTOMAKE) --gnu libmisc/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
|
@@ -29,7 +29,7 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#ident "$Id: copydir.c,v 1.14 2006/05/07 18:10:10 kloczek Exp $"
|
||||
#ident "$Id: copydir.c,v 1.15 2006/07/10 04:35:56 kloczek Exp $"
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
@@ -396,7 +396,8 @@ int remove_tree (const char *root)
|
||||
* is made set-ID.
|
||||
*/
|
||||
|
||||
dir = opendir (root);
|
||||
if (!(dir = opendir (root)))
|
||||
return -1;
|
||||
|
||||
while ((ent = readdir (dir))) {
|
||||
|
||||
|
@@ -36,7 +36,7 @@
|
||||
|
||||
#ifndef USE_PAM
|
||||
|
||||
#ident "$Id: limits.c,v 1.20 2005/09/05 17:32:17 kloczek Exp $"
|
||||
#ident "$Id: limits.c,v 1.21 2006/07/10 04:11:31 kloczek Exp $"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
@@ -138,10 +138,8 @@ static int check_logins (const char *name, const char *maxlogins)
|
||||
setutent ();
|
||||
while ((ut = getutent ())) {
|
||||
#endif
|
||||
#ifdef USER_PROCESS
|
||||
if (ut->ut_type != USER_PROCESS)
|
||||
continue;
|
||||
#endif
|
||||
if (ut->ut_user[0] == '\0')
|
||||
continue;
|
||||
if (strncmp (name, ut->ut_user, sizeof (ut->ut_user)) != 0)
|
||||
|
Reference in New Issue
Block a user