diff options
author | peter <peter@FreeBSD.org> | 2001-07-14 05:02:40 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-07-14 05:02:40 +0000 |
commit | e6b1f6d7a4b70793ec39e42ff13265b409f670f2 (patch) | |
tree | 49819455e7a63b9fea9932a9d05d4cf532af32e1 /usr.sbin | |
parent | 9881dba153210f3102e4ac09de1deb6100e2ed96 (diff) | |
download | FreeBSD-src-e6b1f6d7a4b70793ec39e42ff13265b409f670f2.zip FreeBSD-src-e6b1f6d7a4b70793ec39e42ff13265b409f670f2.tar.gz |
Put on my peril-sensitive sunglasses and remove the POLA-violating
stealth hints loading. 'make release' has been fixed to not need this
now anyway. If you want static hints, specify it explicitly.
Hey! Why did it suddenly get so dark??
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/config/mkmakefile.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.sbin/config/mkmakefile.c b/usr.sbin/config/mkmakefile.c index 3d486d4..45516fc 100644 --- a/usr.sbin/config/mkmakefile.c +++ b/usr.sbin/config/mkmakefile.c @@ -206,12 +206,19 @@ makefile(void) ofp = fopen(path("hints.c.new"), "w"); if (ofp == NULL) err(1, "%s", path("hints.c.new")); +#if 0 + /* + * This is causing more pain than it is worth. And besides, the + * release has been fixed so that this isn't necessary anymore. + * The boot floppies load hints now. + */ if (hintmode == 0) { snprintf(line, sizeof(line), "%s.hints", PREFIX); ifp = fopen(line, "r"); if (ifp) hintmode = 2; } +#endif fprintf(ofp, "int hintmode = %d;\n", hintmode); fprintf(ofp, "char static_hints[] = {\n"); if (ifp) { |