Skip to content
Tcl Source Code Artifact [49f3c6b3a2]
Login

Artifact [49f3c6b3a2]

Artifact 49f3c6b3a22935e0f69d486e415ec80ef7933ebd23a2f3230d00d95a42bd54dc:

Ticket change [49f3c6b3a2] - Ticket [d40d8db3fb7f69b6|d40d8db3fb] <i>Windows: [file normalize] drops a component when parent enumeration is denied (non-junction case)</i> status still Open with 3 other changes by apnadkarni on 2026-07-14 03:54:36.
D 2026-07-14T03:54:36.077
J icomment The\sOP\shas\ssuggested\stwo\spossible\sbehaviors:\r\n\r\n-\sreturn\san\serror\r\n-\spreserve\sthe\spassed\sname\r\n\r\nPreserving\sthe\spassed\sname\swill\sallow\smost\scode\sto\s"silently"\swork\s**but\sit\sbreaks\sthe\ssemantics\sof\sfile\snormalize**\swhich\spromises\sto\sreturn\sa\sunique\spath.\r\n\r\nReturning\san\serror\swould\smaintain\sthe\sfile\snormalize\scontract\s(we\scannot\snormalize\sthe\spath)\sbut\smay\sbreak\smore\scode\swhich\sexpects\sfile\snormalize\son\san\saccessible\sfile\sto\salways\ssucceed.\r\n\r\nOpinions\son\swhich\soption\sis\spreferable?
J login apnadkarni
J mimetype text/x-markdown
K d40d8db3fb7f69b66c624caf6b3b4f3d74fbbab4
U apnadkarni
Z 09243b6dd435f0b9b6a4190d1e90b07b