--- tclWinInit.c 2003-01-23 06:22:16.001000000 +0100 +++ ../../../../tmp/tclWinInit.c 2004-01-07 13:12:30.640625000 +0100 @@ -228,7 +228,15 @@ * because in practice, the DLL is always installed. */ - AppendDllPath(pathPtr, TclWinGetTclInstance(), installLib); + AppendDllPath(pathPtr, TclWinGetTclInstance(), + /* REDHAT LOCAL */ +#ifdef __CYGWIN__ + installLib2 +#else + installLib +#endif + /* END REDHAT LOCAL */ + ); /* @@ -268,17 +276,6 @@ objPtr = Tcl_NewStringObj(path, Tcl_DStringLength(&ds)); Tcl_ListObjAppendElement(NULL, pathPtr, objPtr); Tcl_DStringFree(&ds); - /* REDHAT LOCAL */ -#ifdef __CYGWIN__ - pathv[pathc - 2] = installLib2; - path = Tcl_JoinPath(pathc - 1, pathv, &ds); - pathv[pathc - 2] = str; - objPtr = Tcl_NewStringObj(path, Tcl_DStringLength(&ds)); - Tcl_ListObjAppendElement(NULL, pathPtr, objPtr); - Tcl_DStringFree(&ds); -#endif - /* END REDHAT LOCAL */ - } if (pathc > 3) { str = pathv[pathc - 3];