Skip to content
Tcl Source Code Artifact [0a5740e08e]
Login

Artifact [0a5740e08e]

Artifact 0a5740e08e232aa8d1a07c9ebf90c52e0447e5a8:

Ticket change [0a5740e08e] - New ticket [e21fc32c2aaa7cd0|e21fc32c2a] <i>auto_execok does not check executability on Windows</i>. by danckaert on 2016-03-08 14:35:59.
D 2016-03-08T14:35:59.649
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment On\sWindows,\s[auto_execok]\slies\swhen\sthere\sis\sa\s(non-executable)\sfile\swithout\sextension\snext\sto\sthe\ssame\sfile\swith\s.exe\sextension.\sFor\sexample,\swhen\sthe\scurrent\sdirectory\scontains\s"foo"\sand\s"foo.exe",\s[auto_execok\sfoo]\swill\sreturn\s"foo".\r\nThis\scan\sbe\sfixed\sby\schecking\sfor\sexecutability\sbefore\sreturning.\sThis\swas\sprobably\snot\sdone\sin\sthe\spast\sbecause\s[file\sexecutable]\swas\snot\sreliable\son\sWindows.\sHowever,\sthese\sissues\swere\sfixed\sin\shttp://core.tcl.tk/tcl/info/23cc9bf170fd4489.\sSo\sI\sthink\s[file\sexecutable]\scan\snow\ssafely\sbe\sused\sin\s[auto_execok].
J foundin 8.6.5
J is_private 0
J login danckaert
J priority 5\sMedium
J private_contact 0e8530048dde617c952863a9160a09c72773c1ee
J resolution None
J severity Minor
J status Open
J submitter danckaert
J subsystem 38.\sInit\s-\sLibrary\s-\sAutoload
J title auto_execok\sdoes\snot\scheck\sexecutability\son\sWindows
J type Patch
K e21fc32c2aaa7cd019815dde0249386021f4c74d
U danckaert
Z f2ae151a3e8011471546db489ca2c230