Skip to content
Tcl Source Code View Ticket
Login

View Ticket

file normalize misses two leading / on first level catalog

Closed / Fixed1752589fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 41 days ago
Descriptionplain2007-07-12 12:22:24
from [email protected]

tcl 8.5a6 on linux 2.6.17

%  file normalize //bin
//bin
two slashed not replaced.

files normalize //bin/
files normalize //bin/Mail
works as expected

Thank you very much for superb work! I love tcl/tk 8.5
dkf Ticket [1752589fff]: 2 changes [History diff]2007-07-22 02:38:35
serhiy.storchakawiki2026-10-21 10:03:39

Fixed in 8.6.7 by [e015bfe72f] (ticket [f34cf83dd0]): file normalize //bin now gives /bin. In 9.0, a leading // on Unix is a network (UNC) root by design (TIP 402), so there //bin is left as is.

serhiy.storchaka Ticket [1752589fff]: 3 changes [History diff]2026-10-22 17:19:32
Log in (anonymous is fine) to add a comment.