summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-02-28 02:07:47 +0000
committerpeter <peter@FreeBSD.org>2001-02-28 02:07:47 +0000
commit9150f2f38cbc94c978fde1ba41979126aa6dcecb (patch)
tree8820bbc4d79832bfcbb891e8bfab437024edbaca /usr.sbin
parent2eb2637e9794845378898d78c34596e92b498427 (diff)
downloadFreeBSD-src-9150f2f38cbc94c978fde1ba41979126aa6dcecb.zip
FreeBSD-src-9150f2f38cbc94c978fde1ba41979126aa6dcecb.tar.gz
Untangle some special magic that happened for conflicting defintions for
local files.* and options.* files on the third pass.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/config/mkmakefile.c17
-rw-r--r--usr.sbin/config/mkoptions.c7
2 files changed, 0 insertions, 24 deletions
diff --git a/usr.sbin/config/mkmakefile.c b/usr.sbin/config/mkmakefile.c
index f09a8d0..a886bba 100644
--- a/usr.sbin/config/mkmakefile.c
+++ b/usr.sbin/config/mkmakefile.c
@@ -316,14 +316,6 @@ next:
"files.%s", machinename);
goto openit;
}
- if (first == 2) {
- first++;
- (void) snprintf(fname, sizeof(fname),
- "files.%s", raisestr(ident));
- fp = fopen(fname, "r");
- if (fp != 0)
- goto next;
- }
return;
}
if (wd == 0)
@@ -346,15 +338,6 @@ next:
else
isdup = 0;
tp = 0;
- if (first == 3 && pf == 0 && (tp = fltail_lookup(this)) != 0) {
- if (tp->f_type != INVISIBLE || tp->f_flags)
- printf("%s: Local file %s overrides %s.\n",
- fname, this, tp->f_fn);
- else
- printf("%s: Local file %s could override %s"
- " with a different kernel configuration.\n",
- fname, this, tp->f_fn);
- }
nreqs = 0;
special = 0;
depends = 0;
diff --git a/usr.sbin/config/mkoptions.c b/usr.sbin/config/mkoptions.c
index 4cfa098..db63431 100644
--- a/usr.sbin/config/mkoptions.c
+++ b/usr.sbin/config/mkoptions.c
@@ -319,13 +319,6 @@ next:
(void) snprintf(fname, sizeof fname, "options.%s", machinename);
goto openit;
}
- if (first == 2) {
- first++;
- (void) snprintf(fname, sizeof fname, "options.%s", raisestr(ident));
- fp = fopen(fname, "r");
- if (fp != 0)
- goto next;
- }
return;
}
if (wd == 0)
OpenPOWER on IntegriCloud