From e3d97c779d907e3556a40a69b84f001d95cf4d6a Mon Sep 17 00:00:00 2001 From: David Nugent Date: Tue, 23 Feb 1999 07:15:11 +0000 Subject: 1) Do not blindly ignore file update errors which may occur due to concurrent updating 2) Add -V , which allows maintaining user/group database in alternate locations other than /etc. --- pw/pw_conf.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'pw/pw_conf.c') diff --git a/pw/pw_conf.c b/pw/pw_conf.c index 63742a7..dc1bd61 100644 --- a/pw/pw_conf.c +++ b/pw/pw_conf.c @@ -26,7 +26,7 @@ #ifndef lint static const char rcsid[] = - "$Id$"; + "$Id: pw_conf.c,v 1.7 1997/10/10 06:23:36 charnier Exp $"; #endif /* not lint */ #include @@ -34,7 +34,6 @@ static const char rcsid[] = #include #include "pw.h" -#include "pwupd.h" #define debugging 0 @@ -310,7 +309,7 @@ read_userconfig(char const * file) break; case _UC_DEFAULTGROUP: q = unquote(q); - config.default_group = (q == NULL || !boolean_val(q, 1) || getgrnam(q) == NULL) + config.default_group = (q == NULL || !boolean_val(q, 1) || GETGRNAM(q) == NULL) ? NULL : newstr(q); break; case _UC_EXTRAGROUPS: -- cgit v1.2.3