<i>glob and file normalize inconsistencies on case insensitive filesystem</i> status still Open with 3 other changes
by
.
D 2026-03-22T15:30:15.999
J icomment Proposed\sfix\sin\s[bug-108904173c](https://core.tcl-lang.org/tcl/timeline?r=bug-108904173c).\sThis\smay\sbe\sboth\sincomplete\sand\snon-optimal.\r\n\r\nThe\sbasic\sissue\swas\sthat\sthe\sinternal\srepresentation\sgenerator\sthat\schecks\swhether\sa\spath\sneeds\snormalization\smakes\sthe\sdetermination\spurely\sbased\son\swhether\sa\spath\scomponent\scontains\s`.`\sor\s`..`.\sHowever,\snormalization\sas\sdefined\sin\sthe\sdocumentation\salso\srequires\sthe\spath\sto\smatch\sthe\scase\sof\sthe\son-disk\sfile\sentry.\sThis\shappens\sautomatically\son\sUnix\swhich\sis\scase-sensitive\sbut\snot\sWindows.\sThus\sjust\schecking\sfor\s`.`\sor\s`..`\sdoes\snot\ssuffice\son\sWindows.\r\n\r\nTherefore\son\sWindows,\sthe\sinternal\srepresentation\sis\salways\smarked\sas\sneeding\snormalization\sin\sthe\sbranch\sas\sa\sconservative\sapproach\sas\sit\sis\snot\sknown\swhether\sthe\sappended\spath\sis\sexactly\sthe\son-disk\sstring.\sThis\sis\snon-optimal\sbecause\swhen\sglobbing\sa\sdirectory\sand\sretrieving\sthe\sactual\sname\sfrom\sdisk,\sthe\spassed\sstring\sis\sin\sfact\snormalized.\sSo\sthe\snext\sstep\swould\sbe\sto\spass\sthat\sinformation\sdown\sto\sthe\sfunction\screating\sthe\sinternal\srepresentation\sso\snormalization\scan\sbe\sskipped\sfor\spath\scomponents\sread\sfrom\sdisk.
J login apnadkarni
J mimetype text/x-markdown
K 108904173c1a823a20823885c7b29ab536434a5a
U apnadkarni
Z 9dfda72853f72ce7b8c873c381984b88