Artifacts Associated With Ticket 541989ffffffffffffffffffffffffffffffffff
Ticket change [f845dcb179] (rid 91511) by vincentdarley on 2002-04-10 14:08:34:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Trailing dots in filenames are stripped off. I'm assuming this is not a bug in Tcl (since I know the filesystem code pretty well, and this occurs in both 8.3 and 8.4), so I think it's a bug in the filename.n man page, which doesn't mention this "feature" at all. [my comments below have been added like this] % set fn "C:/WINNT/Profiles/VinceD/Alpha- v8/tmp/wikitmp/Edit Ask, and it shall be given." C:/WINNT/Profiles/VinceD/Alpha-v8/tmp/wikitmp/Edit Ask, and it shall be given. % file attributes $fn -longname C:/WINNT/Profiles/VinceD/Alpha-v8/tmp/wikitmp/Edit Ask, and it shall be given [the longname is missing the trailing '.'] % file attributes $fn -shortname C:/WINNT/Profiles/VinceD/Alpha-v8/tmp/wikitmp/EDITAS~1 % cd [file dirname $fn] % glob * {Edit Ask, and it shall be given} [oh! the file on disk actually doesn't have the dot] % file exists $fn 1 % file exists $fn. 1 % file exists $fn.... 1 % file exists $fn....... 1 % info tclversion 8.3 % file exists $fn.......x 0 % file exists $fn........ 1 % close [open $fn.... r] % close [open "${fn}dup....." w] % glob * {Edit Ask, and it shall be given} {Edit Ask, and it shall be given.dup} % - foundin initialized to: "obsolete: 8.3.4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "vincentdarley"
- subsystem initialized to: "37. File System"
- title initialized to: "trailing dots '...' ignored in filenames"
- type initialized to: "Bug"
Ticket change [faac7411ea] (rid 91917) by vincentdarley on 2003-09-15 17:52:32:
- assignee changed to: "vincentdarley"
- icomment:
Logged In: YES user_id=32170 We just need to update filename.n to reflect the fact that such dots are ignored. 'file normalize' already removes them. Assigning to myself to do when I have time.
- login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"
Ticket change [735454ea20] (rid 105031) by vincentdarley on 2003-09-16 21:55:46:
- status changed to: "Closed"
Ticket change [0438304183] (rid 119957) by vincentdarley on 2003-09-16 21:55:48:
- closedate changed to: "2003-09-16T14:55:48"
- closer changed to: "vincentdarley"
- icomment:
Logged In: YES user_id=32170 Updated in docs in cvs, together with a test to illustrate MSFT's documented behaviour. As such the above behaviour is "correct".
- login: "vincentdarley"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- username: "vincentdarley"