Module Name:    src
Committed By:   uebayasi
Date:           Thu Oct  9 16:08:36 UTC 2014

Modified Files:
        src/usr.bin/config: main.c sem.c

Log Message:
Always select the fallback allattr.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/usr.bin/config/main.c
cvs rdiff -u -r1.46 -r1.47 src/usr.bin/config/sem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/config/main.c
diff -u src/usr.bin/config/main.c:1.56 src/usr.bin/config/main.c:1.57
--- src/usr.bin/config/main.c:1.56	Thu Oct  9 06:49:53 2014
+++ src/usr.bin/config/main.c	Thu Oct  9 16:08:36 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: main.c,v 1.56 2014/10/09 06:49:53 uebayasi Exp $	*/
+/*	$NetBSD: main.c,v 1.57 2014/10/09 16:08:36 uebayasi Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993
@@ -283,8 +283,6 @@ main(int argc, char **argv)
 	minmaxusers = 1;
 	maxmaxusers = 10000;
 	initintern();
-	initfiles();
-	initsem();
 	ident = NULL;
 	devbasetab = ht_new();
 	devroottab = ht_new();
@@ -312,6 +310,8 @@ main(int argc, char **argv)
 	nextappmkopt = &appmkoptions;
 	nextcndmkopt = &condmkoptions;
 	nextfsopt = &fsoptions;
+	initfiles();
+	initsem();
 
 	/*
 	 * Handle profiling (must do this before we try to create any

Index: src/usr.bin/config/sem.c
diff -u src/usr.bin/config/sem.c:1.46 src/usr.bin/config/sem.c:1.47
--- src/usr.bin/config/sem.c:1.46	Thu Oct  9 15:25:26 2014
+++ src/usr.bin/config/sem.c	Thu Oct  9 16:08:36 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: sem.c,v 1.46 2014/10/09 15:25:26 uebayasi Exp $	*/
+/*	$NetBSD: sem.c,v 1.47 2014/10/09 16:08:36 uebayasi Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993
@@ -100,6 +100,7 @@ initsem(void)
 	allattr.a_name = "netbsd";
 	TAILQ_INIT(&allattr.a_files);
 	(void)ht_insert(attrtab, allattr.a_name, &allattr);
+	selectattr(&allattr);
 
 	errattr.a_name = "<internal>";
 

Reply via email to