Skip to content
Tcl Source Code Artifact [e5687cbbfe]
Login

Artifact [e5687cbbfe]

Artifact e5687cbbfe62cf20beb36fbbdba167b96eea8f988b3a1d73462f3f584def1ea2:

Ticket change [e5687cbbfe] - Ticket [a382a311e098c19a|a382a311e0] <i>glob on case insentitive sytems not respecting character class case</i> status still Open with 3 other changes by apnadkarni on 2026-03-30 11:50:41.
D 2026-03-30T11:50:41.497
J icomment I\sam\snot\ssure\sI\sagree\sthat\s`glob\s[a-z]`\sshould\snot\smatch\sa\sfile\scalled\s`A`\son\scase-insensitive\ssystems.\sAs\sI\ssee\sit,\sthe\sglob\spattern\srepresents\sa\s(potentially\sinfinite)\sset\sof\sstrings.\sThe\scommand\sthen\sshould\sreturn\sany\sfile\sname\sthat\smatches\sany\sof\sthose\sstrings\susing\sthe\scase-sensitivity\sbehaviour\sof\sthe\sfile\ssystem.\r\n\r\nRegarding\sperformance,\swhile\sdebugging\sthe\srelated\sbugs,\sit\sappeared\sthat\straversal\sto\sbuild\sthe\sinternal\srepresentation\sis\sunnecessarily\sduplicated\sat\stimes.\sI've\sstill\snot\sfully\sgrok'ed\smaintenance\sof\sthe\srepresentation.\sThe\sother\spossiblity\sis\sthat\sTcl\sbuilds\sup\sthe\sinternal\srepresentation\sof\sthe\sfile\spath\swhich\stwapi\sdoes\snot\sdo.\sWhile\sthis\sis\san\sadditional\scost\sin\sglobbing\s(possibly\swasted),\sit\smay\sspeed\sup\slater\soperations\ssuch\sas\snormalization.\sI\swonder\show\srelative\sperformance\swould\slook\sif\syou\snormalized\sthe\sreturned\spaths\sin\sboth\scases.
J login apnadkarni
J mimetype text/x-markdown
K a382a311e098c19ae3abe371602eb84d7a1e00e6
U apnadkarni
Z 5f13e18092378903074e012a0002d96d