1 $NetBSD: patch-ad,v 1.3 2011/09/02 08:06:55 he Exp $
3 Don't try to include OS version in directory name for mib files.
5 --- tnm/generic/tnmInit.c.orig 1999-03-05 22:32:26.000000000 +0000
6 +++ tnm/generic/tnmInit.c
7 @@ -106,15 +106,12 @@ InitVars(interp)
9 machine = Tcl_GetVar2(interp, "tcl_platform", "machine", TCL_GLOBAL_ONLY);
10 os = Tcl_GetVar2(interp, "tcl_platform", "os", TCL_GLOBAL_ONLY);
11 - vers = Tcl_GetVar2(interp, "tcl_platform", "osVersion", TCL_GLOBAL_ONLY);
13 Tcl_DStringInit(&arch);
14 - if (machine && os && vers) {
15 + if (machine && os) {
16 Tcl_DStringAppend(&arch, machine, -1);
17 Tcl_DStringAppend(&arch, "-", 1);
18 Tcl_DStringAppend(&arch, os, -1);
19 - Tcl_DStringAppend(&arch, "-", 1);
20 - Tcl_DStringAppend(&arch, vers, -1);
22 Tcl_DStringAppend(&arch, "unknown-os", -1);