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

Artifact [0cfb7af501]

Artifact 0cfb7af501a28893058fb570c8da1dcb7c0c4ad8:

Ticket change [0cfb7af501] - Open ticket [3608360fffffffff|3608360fff]: <i>Incompatible behaviour of &quot;file exists&quot;</i> plus 5 other changes by dkf on 2013-03-18 20:44:46.
D 2013-03-18T20:44:46
J foundin current:\s8.6.0
J icomment I\sthink\syou're\smisreading.\sThis\sis\s(supposedly)\sa\sregression\sin\s8.6\swhereby,\sif\s'x.tcl'\sexists\sin\sthe\scurrent\sdirectory\s(but\s'*.tcl'\sdoes\snot),\s[file\sexists\s*.tcl]\sreturns\s1.\n\nIf\sthere's\sa\sproblem,\sit\sexists\sin\sthat\sNativeAccess\sfunction.\s(I\scannot\sconfirm\sor\sdeny;\sI\sdon't\shave\sthe\sright\splatform.\sI\salso\sdon't\sknow\sif\sthe\sCygwin\sbuild\suses\sthe\ssame\scode;\sif\snot,\sit\sdoesn't\scount.)\sI\ssuspect\sthat\sif\sthere\sis\sa\sproblem,\sit\sis\sinside\sthere\sand\srelated\sto\sthe\suse\sof\san\sAPI\sthat\sdoes\sexpansion.\sFindFirstFile\sis\ssuch\sa\sfunction,\sand\sit\sis\sdefinitely\sused\sin\sthe\sNativeAccess\scode;\sthe\scommit\sI\sindicated\sappears\sto\sbe\sthe\sone\sthat\sintroduced\sit.\sFindFirstFile\sis\sdocumented\shere:\shttp://msdn.microsoft.com/en-us/library/windows/desktop/aa364418(v=vs.85).aspx\n\nMoreover,\sI've\sconfirmed\sthat\s*\sis\san\sillegal\scharacter\sin\sa\sfilename\son\sWindows.\sSearch\sfor\s"reserved\scharacters"\sin\shttp://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx\n\nAt\sthe\svery\sleast,\swe\scould\shave\sa\stest\sfor\sthis!\sIn\sfact,\sI'll\swrite\sone.\s[file\sexists]\sdefinitely\sshouldn't\sever\sdo\swildcard\sexpansion\sbehind\sthe\sscenes\son\sany\splatform.\n
J login dkf
J mimetype text/plain
J status Open
J username dkf
K 3608360fffffffffffffffffffffffffffffffff
U dkf
Z 4d6375260081ea96386f2aa0175da7f4