Tcl Source Code

View Ticket
Login
Ticket UUID: 2187116
Title: File join with a member that contain "//" caractere sequency
Type: Bug Created on: 2008-10-22 16:01:09
Submitter: nobody Assigned to: dgp
Subsystem: 37. File System Severity:
Priority: 5 Medium Last modified: 2008-11-06 09:20:15
Status: Closed Closed by: sf-robot
Resolution: Invalid Closed on: 2008-11-06 02:20:15
Version: None
Description:
set Toto "sync://mssync.tun.com:8080/Projects"
set nothing "Tunisien"

when we execute 

->[file join $Toto $nothing]

We get

->sync:/mssync.tun.com:8080/Projects/Tunisien

and Not 

->sync://mssync.tun.com:8080/Projects/Tunisien

Can i know more about this bug

Thanks
User Comments:
dgp added on 2008-10-23 00:24:19:
Do you have a Tcl_Filesystem
registered that would recognize
a sync://* family of pathnames?

If not, the rules will fallback
to the rules for the native
filesystem pathnames, and the
common ones (unix, windows)
a doubled path separator / is
just an overlong way to mean the
same thing as a single one.

sf-robot added on 2008-11-06 09:20:15:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).