Artifacts Associated With Ticket 421842ffffffffffffffffffffffffffffffffff
Ticket change [b66944adbb] (rid 125417) by nobody on 2001-05-06 15:35:40:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Bug description : file join remove leading slash from the first argument if it is computer name only. Platform : Windows NT workstation, sp6 Tcl versions : 8.0p2 and tcl 8.3.2 Example : % set f1 {\\comp_name} \\comp_name % set f2 {dir1\dir2} dir1\dir2 % file join $f1 $f2 /comp_name/dir1/dir2 It works properly if first argument contains some path : % set f1 {\\comp_name\dir0} \\comp_name\dir0 % set f2 {dir1\dir2} dir1\dir2 % file join $f1 $f2 //comp_name/dir0/dir1/dir2 % - foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "37. File System"
- title initialized to: "file join does not work prperly"
- type initialized to: "Bug"
Ticket change [3be79035fa] (rid 112833) by andreas_kupries on 2001-08-23 06:04:02:
- assignee changed to: "vincentdarley"
- icomment:
Logged In: YES user_id=75003 Any changes to this due to VFS ?
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
Ticket change [5c44d5f34e] (rid 115274) by vincentdarley on 2001-08-23 23:04:25:
- icomment:
Logged In: YES user_id=32170 The root of the problem is that: % file pathtype //foo volumerelative % file pathtype //foo/bar absolute Is the first of these in error? If so then we can easily fix this bug report.
- login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"
- icomment:
Ticket change [8cf51638a5] (rid 127834) by vincentdarley on 2001-08-23 23:08:17:
- icomment:
Logged In: YES user_id=32170 Let me add to my previous comment. % file pathtype /foo volumerelative % file pathtype //foo volumerelative % file pathtype /////////////foo volumerelative Are some, all or none of these correct? How does this relate to this bug report?
- login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"
- icomment:
Ticket change [76087c4fb1] (rid 105496) by hobbs on 2001-09-04 00:59:51:
- icomment:
Logged In: YES user_id=72656 The question is, why is this so, and is that fair? The MSDN clearly defines UNC thus: ------------- UNC (universal naming convention) A network resource name for a share point on a server, consisting of the string \\<server name>\<share point name> As opposed to a resolved drive letter such as S:, a UNC name is usable without alteration from any task on any computer that has access to the share point. ------------- This would mean that when they chose to implement this in Tcl, they went with the strict view that you have to have the name and share point together. In reality, this is the case on Windows. You can't just have a unc name that is just the host - a share must be specified. My $.02 is that this is a doc bug, not a code bug.
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Ticket change [f081800637] (rid 109206) by vincentdarley on 2001-09-04 15:44:56:
- closedate changed to: "2001-09-04T08:44:56"
- closer changed to: "vincentdarley"
- icomment:
Logged In: YES user_id=32170 While the documentation is not great, the above behaviour is in fact given in the filename man page. I have clarified the docs (and added a comment in the C source where this decision is made), and so this bug is now closed.
- login: "vincentdarley"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "vincentdarley"