<i>glob and file normalize inconsistencies on case insensitive filesystem</i> status still Open with 3 other changes
by
.
D 2026-03-22T03:34:24.454
J icomment I'm\sinclined\sto\sagree\swith\sJulian\sthere\sis\sa\sbug.\sSomewhere.\r\n\r\nI\swill\signore\scross-mounting\setc.\sbecause\sthat\sonly\sconfuses\sme\sfurther.\sJust\ssticking\sto\sWindows\sand\sNTFS,\sthe\sfollowing\sdoes\snot\sseem\sconsistent\sor\scorrect.\r\n\r\n```\r\n%\sset\sfiles\s[glob\s-dir\sd:/src\sRUFF]\r\nd:/src/RUFF\r\n%\sfile\snormalize\s[lindex\s$files\s0]\r\nD:/src/RUFF\r\n%\sfile\snormalize\sD:/src/RUFF\r\nD:/src/ruff\r\n```\r\n\r\nThe\s*unique*\sand\s*case-dependent\spath*\sterms\sin\sthe\s`file\snormalize`\r\n[manpage](https://www.magicsplat.com/tcl-docs/tcl/TclCmd/file.html#M32)\sclearly\swould\slead\sone\sto\sexpect\sthose\slast\stwo\scommands\sto\sreturn\sthe\ssame\svalue.\r\n\r\nThe\sbug\smanifests\sin\s`file\snormalize`\sas\s`glob`\smakes\sno\sclaim\sthat\sit\sreturns\snormalized\spaths\s(and\snor\sshould\sit).\sHowever,\sit's\spossible\sthe\scause\sof\sthe\sbug\sis\sthe\sinternal\srepresentation\sbeing\smarked\sas\s"normalized"\sby\sthe\sglob\simplementation\swhen\sin\sfact\sit\sisn't\s(pure\sconjecture).
J login apnadkarni
J mimetype text/x-markdown
K 108904173c1a823a20823885c7b29ab536434a5a
U apnadkarni
Z d9dcd36a8a06a9d2d05df82e8d15644f