From e8cc4c740712d7c8a9bf35eb65ddc2bb75481374 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sat, 14 Jul 2001 05:02:40 +0000 Subject: [PATCH] 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?? --- usr.sbin/config/mkmakefile.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/usr.sbin/config/mkmakefile.c b/usr.sbin/config/mkmakefile.c index 3d486d472461..45516fc3889f 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) {