Untangle some special magic that happened for conflicting defintions for

local files.* and options.* files on the third pass.
This commit is contained in:
Peter Wemm 2001-02-28 02:07:47 +00:00
parent a77b865277
commit 4336b13f61
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=73198
2 changed files with 0 additions and 24 deletions

View File

@ -316,14 +316,6 @@ read_files(void)
"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 @@ read_files(void)
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;

View File

@ -319,13 +319,6 @@ read_options(void)
(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)