* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: pw_conf.c,v 1.2 1996/12/21 15:35:42 davidn Exp $
*/
+#ifndef lint
+static const char rcsid[] =
+ "$Id: pw_conf.c,v 1.7 1997/10/10 06:23:36 charnier Exp $";
+#endif /* not lint */
+
#include <string.h>
#include <ctype.h>
#include <fcntl.h>
#include "pw.h"
-#include "pwupd.h"
#define debugging 0
? (char *) bourne_shell : newstr(q);
break;
case _UC_DEFAULTGROUP:
- config.default_group = (q == NULL || !boolean_val(q, 1) || getgrnam(q) == NULL)
+ q = unquote(q);
+ config.default_group = (q == NULL || !boolean_val(q, 1) || GETGRNAM(q) == NULL)
? NULL : newstr(q);
break;
case _UC_EXTRAGROUPS: