Skip to content
Tcl Source Code History Of Ticket f34cf83dd0
Login

History Of Ticket f34cf83dd0

Artifacts Associated With Ticket f34cf83dd0

  1. Ticket change [8d0a46fb2f] (rid 153285) by gustafn2 on 2017-04-25 09:48:09:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      Two slashes in paths are only sometimes reduced to a single slash. This inconsistent behavior contradicts the aim that "file normalize" returns 'the “standard” format for the native platform'. 
      
      This is seen at least with tcl 8.6.6 and Tcl 8.7a0 on MacOS X and Linux.
      
         % file normalize //foo
         //foo
         % file normalize //foo/
         /foo
         % file normalize ///foo
         /foo
         % file normalize /foo//bar
         /foo/bar
         % file normalize //foo/bar
         //foo/bar
         % file normalize //foo//bar
         /foo/bar
         % file normalize //foo/bar/
         /foo/bar
      
         % set tcl_patchLevel
         8.6.6
      
    5. foundin initialized to: "8.6.6 and 8.7"
    6. is_private initialized to: "0"
    7. login: "gustafn2"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "gustafn2"
    13. subsystem initialized to: "37. File System"
    14. title initialized to: "unexpected result for "file normalize""
    15. type initialized to: "Bug"
  2. Ticket change [7cf119cf6c] (rid 153347) by dgp on 2017-04-27 14:29:53:

    1. icomment:
      
      Bisecting points the blame at
      
      https://core.tcl.tk/tcl/info/9cfcca63fb0
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  3. Ticket change [4e32e0a76b] (rid 153390) by dgp on 2017-04-28 16:41:03:

    1. icomment:
      
      It appears this traces down to a flaw in [file join]
      machinery:
      
      % info patch
      8.4.20
      % file join foo /bar
      /bar
      %  file join foo //bar
      /bar
      %  file join foo ///bar
      /bar
      
      % info patch
      8.6.6
      % file join foo /bar
      /bar
      % file join foo //bar
      //bar
      % file join foo ///bar
      /bar
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  4. Ticket change [349624ae02] (rid 153400) by dgp on 2017-04-28 17:59:43:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2457872.24981214"
    3. closer changed to: "dgp"
    4. icomment:
      
      Fixed on all dev branches
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
  5. Ticket change [5fd31b4724] (rid 153615) by gustafn2 on 2017-05-06 12:52:37:

    1. closedate changed to: "2457880.03654744"
    2. closer changed to: "gustafn2"
    3. icomment: "Great, Many thanks!"
    4. login: "gustafn2"
    5. mimetype: "text/plain"