Skip to content
Tcl Source Code Artifact [aeca9701cd]
Login

Artifact [aeca9701cd]

Artifact aeca9701cd55900587681dfc8546f526fd3dbac7:

Ticket change [aeca9701cd] - Ticket [219215ffffffffff|219215ffff] <i>Memory validation failure in Tcl_FindExecutable</i> status still Open with 6 other changes by msofer on 2001-09-08 20:55:02.
D 2001-09-08T20:55:02
J assignee das
J icomment Logged\sIn:\sYES\s\nuser_id=148712\n\nI\scould\snot\sfind\sthe\smemory\serror\s-\sand\sdidn't\seven\stry\sto\nreproduce\sit.\sHowever,\ssome\sremarks\sbefore\spassing\sto\sarea\nmaintainer:\n\nThe\swording\sin\sthe\sdocs\sof\sshould\sbe\speremptory:\sDO\sNOT\nchange\sthe\sworking\sdirectory\sbefore\scalling\nTcl_FindExecutable!\n\nThe\scode\sin\sunix/tclUnixFile.c\s(TclpFindExecutable)\smakes\nclear\sthat\swhenever\sargv[0]\scontains\s"/",\sthe\sexecutable\nname\s"found"\swill\sbe\srooted\sat\sthe\scwd\s*at\sthe\stime\sof\sthe\ncall\sto\sTclpFindExecutable*.\sSo,\sa\swrong\sname\swill\sbe\nreturned\s...\n\nAlso,\sthe\salgorithm\sof\sTclpFindExecutable\smay\sbe\simproved;\nit\ssometimes\sreports\s"correct\sbut\svery\sugly"\sresults,\sas\nshown\sin:\n\n[mig@mini\sgeneric]$\spwd\n/CVS/tcl_SF_clean/generic\n[mig@mini\sgeneric]$\s../unix/tclsh\n%\sinfo\snameofexecutable\n/CVS/tcl_SF_clean/generic/../unix/tclsh\n\n
J login msofer
J mimetype text/plain
J subsystem 36.\sPathname\sManagement
J username msofer
K 219215ffffffffffffffffffffffffffffffffff
U msofer
Z 5e4539c639aa190c40772a27a4d86735