.
D 2000-10-26T00:43:51
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s989\sBug\nVersion:\s8.1b1\nSubmitDate:\s'1998-12-17'\nLastModified:\s'1999-01-15'\nSeverity:\sLOW\nStatus:\sClosed\nSubmitter:\spat\nChangedBy:\spat\nRelatedBugIDs:\s976\nOS:\sWindows\sNT\nOSVersion:\s4.0SP3\nMachine:\sX86\nFixedDate:\s'2000-10-25'\nClosedDate:\s'1999-01-15'\n\n\nName:\n\nJan\sNijtmans\n\n\n\nReproducibleScript:\n\nWhen\srunning\stclsh81.exe\sfrom\sthe\scommand\sline,\sI\sget:\n\n\s\s\s\sCan't\sfind\sa\susable\sinit.tcl\sin\sthe\sfollowing\sdirectories:\n\n\s\s\s\s\s...........\n\n\s\s\s\sThis\sprobably\smeans\sthat\sTcl\swasn't\sinstalled\sproperly.\n\n\n\n\n\n\n\n\n\nObservedBehavior:\n\nThe\s"[info\snameofexecutable]/../../library"\sis\snot\samong\sthe\n\nlisted\sdirectories.\sThis\sbut\swas\salso\sreported\sfor\sTcl8.0.3\n\nand\ssolved\sin\sTcl8.0.4,\sso\sI\swould\sbe\slogical\sto\ssolve\sit\sthe\n\nsame\sway\snow.\n\n\n\n\n\n\n\nPatch:\n\nFirst,\scopy\sthe\s"tclInitScript.h"\sfile\sfrom\stcl8.0.4.\sThat\sstill\sdoesn't\ssolve\n\nthe\sproblem,\sbecause\sthe\svariable\s$tclDefaultLibrary\sdoesn't\sexist.\n\nAs\sa\stemporary\sworkaround,\sI\sdid:\n\n***\stclWinInit.c.origWed\sNov\s11\s05:09:19\s1998\n\n---\stclWinInit.cMon\sDec\s14\s17:27:42\s1998\n\n***************\n\n***\s554,559\s****\n\n---\s554,560\s----\n\n\s\s}\n\n\s\sTcl_DStringFree(&ds);\n\n\s\s\s\s\s\s}\n\n+\s\s\s\s\sTcl_SetVar(interp,\s"tclDefaultLibrary",\s"",\sTCL_GLOBAL_ONLY);\n\n\s\s}\n\n\s\s\n\n\s\s/*\n\n\n\n\n\n\n\n\n\nPatchFiles:\n\ntclInitScript.h\stclWinInit.c\n\n\n\n\n\n\n\n\n\nThe\spatch\sfor\stclWinInit.c\sjust\ssets\sthe\stclDefaultLibrary\svariable\sto\sthe\nempty\sstring,\sbut\sin\sfact\sit\sshould\sbe\sretrieved\sfrom\sthe\sregistry\sin\nthe\ssame\sway\sas\sTcl8.0.4.\ntclUnixInit.c\sshould\sbe\smodified\sto\sset\sthe\stclDefaultLibrary\svariable\sas\swell.\n\n01/15/1999\s11:57\s-\spat\s-\sclosed\sas\sa\sduplicate\sof\sbug\s976
J foundin obsolete:\s8.1b1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title Running\stclsh81.exe\sfrom\sits\sbuild\sdirectory\sdoesn't\swork
J type Bug
K 217800ffffffffffffffffffffffffffffffffff
U nobody
Z cd116259ed5c5b99b65ab4904c61500d