Skip to content
Tcl Source Code History Of Ticket 6c49da8a19
Login

History Of Ticket 6c49da8a19

Artifacts Associated With Ticket 6c49da8a19

  1. Ticket change [a5ae6badef] (rid 136658) by dkf on 2014-01-31 09:34:53:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/html"
    4. comment initialized to:
      As reported in <a href="http://stackoverflow.com/q/21439453/301832">this Stack Overflow question</a>, it looks like there's an evil edge case that's gone wrong in <tt>file normalize</tt>.
      <p>
      Directory structure setup:
      <pre>
      /tmp/fileA.txt
      /tmp/sidedir/fileA.txt
      /tmp/subdir/fileA.txt
      /tmp/subdir/sidedir_link -> /tmp/sidedir
      </pre>
      Problem trace:
      <pre>
      wish% file normalize sidedir_link/fileA.txt
      /tmp/sidedir/fileA.txt
      wish% ::utils::realpath sidedir_link/fileA.txt
      /tmp/sidedir/fileA.txt
      wish% file normalize sidedir_link/../fileA.txt
      /tmp/subdir/fileA.txt
      wish% ::utils::realpath sidedir_link/../fileA.txt
      /tmp/fileA.txt
      </pre>
      <blockquote>“<i>Note:</i> The difference is <tt>/tmp/subdir/fileA.txt</tt> versus <tt>/tmp/fileA.txt</tt>.”</blockquote>
      It's reportedly an issue with both 8.4.9 and 8.6.1 so I expect it to be present in all other 8.4, 8.5 and 8.6 versions.
      
    5. foundin initialized to: "8.4.9, 8.6.1"
    6. is_private initialized to: "0"
    7. login: "dkf"
    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: "dkf"
    13. subsystem initialized to: "36. Pathname Management"
    14. title initialized to: "Edge case in [file normalize]?"
    15. type initialized to: "Bug"
  2. Ticket change [01fa314ef3] (rid 136659) by dkf on 2014-01-31 09:35:18:

    1. assignee changed to: "dgp"
    2. login: "dkf"
    3. mimetype: "text/plain"
  3. Ticket change [4de45c1089] (rid 136660) by dgp on 2014-01-31 19:05:20:

    1. icomment:
      This is probably a Dup.
      
      Related tickets are 3577801 and 961646.
      
      If it were easy to fix (or to define what
      functioning is properly defined as "fixed"),
      it would be done by now.
      
    2. login: "dgp"
    3. mimetype: "text/plain"