Skip to content
Tcl Source Code Artifact [fdbf6ce568]
Login

Artifact [fdbf6ce568]

Artifact fdbf6ce568e83b8e7ca377131d9a741306364a9384a9a9e360574f20a7b443d7:

Ticket change [fdbf6ce568] - Ticket [7eb6b3a53f963364|7eb6b3a53f] <i>glob on UNC path requires additional slash</i> status still Open with 3 other changes by apnadkarni on 2026-05-29 11:54:36.
D 2026-05-29T11:54:36.019
J icomment That\sis\snot\sa\sUNC\spath.\sAs\sfar\sas\sI\scan\ssee,\sUNC\spaths\swork\scorrectly.\r\n\r\n```\r\n%\sllength\s[glob\s//IO/src/*]\r\n124\r\n%\sllength\s[glob\s{\\\\IO\\src\\*}]\r\n124\r\n%\sllength\s[glob\s"\\\\\\\\IO\\\\src\\\\*"]\r\n124\r\n```\r\n\r\nThe\s`\\\\?\\`\snotation\sfollows\sdifferent\ssyntax\srules\sand\ssemantics.\sFor\sexample,\s`C:\\foo\\..\\bar`\sand\s`\\\\?\\C:\\foo\\..\\bar`\sare\s*different*\spaths\sas\sare\s`C:\\foo/bar`\sand\s`\\\\?\\C:\\foo/bar`,\sor\s`C:\\foo\\bar.`\sand\s`\\\\?\\C:\\foo\\bar.`\r\n\r\nTcl\sdoes\snot\sreally\ssupport\sthe\s`\\\\?\\`\ssyntax.\sThere\sare\ssome\shacks\s(sorry,\sbut\sthey\sreally\sare\shacks)\swithin\sTcl\sthat\sattempt\sto\sdeal\swith\sthis\sin\spiecemeal\sfashion.\sThey\slead\syou\sto\sbelieve\sthat\ssyntax\sis\ssupported\sbut\sit\sisn't.\sMoreover,\sin\smy\sopinion\sthis\sis\sactually\snot\sfixable\sbecause\snot\seven\sall\sWin32\sAPI's\sthat\sTcl\suses\sunderstand\sthe\ssyntax.\r\n\r\nSee\s[bc7925fc50](https://core.tcl-lang.org/tcl/tktview/bc7925fc50)\sfor\sother\scases.
J login apnadkarni
J mimetype text/x-markdown
K 7eb6b3a53f963364c3c6f29d7622d70ddf8dd610
U apnadkarni
Z f7b1d6da3cf58edfb54a294d0e9e9933