Ticket Change Details
Not logged in
Tcl 2014 Conference, Portland/OR, US, Nov 10-14
Send your abstracts to tclconference@googlegroups.com by Sep 8.
Overview

Artifact ID: a5ae6badef99b3613658a3af52bfadea758f1d69
Ticket: 6c49da8a19ab9fb07b4366fe37ebee105e96a859
Edge case in [file normalize]?
Date: 2014-01-31 09:34:53
User: dkf
Changes

  1. Change assignee to "nobody"
  2. Change closer to "nobody"
  3. Change cmimetype to "text/html"
  4. Change comment to:

    As reported in this Stack Overflow question, it looks like there's an evil edge case that's gone wrong in file normalize.

    Directory structure setup:

    /tmp/fileA.txt
    /tmp/sidedir/fileA.txt
    /tmp/subdir/fileA.txt
    /tmp/subdir/sidedir_link -> /tmp/sidedir
    
    Problem trace:
    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
    
    Note: The difference is /tmp/subdir/fileA.txt versus /tmp/fileA.txt.”
    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. Change foundin to "8.4.9, 8.6.1"
  6. Change is_private to "0"
  7. Change login to "dkf"
  8. Change priority to "5 Medium"
  9. Change resolution to "None"
  10. Change severity to "Minor"
  11. Change status to "Open"
  12. Change submitter to "dkf"
  13. Change subsystem to "36. Pathname Management"
  14. Change title to "Edge case in [file normalize]?"
  15. Change type to "Bug"