Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 45a9f4c8d939746943a12cdb3e7251f617d98e56
Ticket: 2710920fffffffffffffffffffffffffffffffff
[file tail] gives wrong result
User & Date: jepler on 2009-03-25 03:05:51
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    This problem occurs on a freshly built 8.5.6 (unmodified) on Ubuntu Hardy and is also seen on 8.5.3-2 on ubuntu jaunty alpha (ubuntu modified).  The bug is not seen in 8.4.16-4ubuntu1 (ubuntu modified) on ubuntu hardy.
    
    In a specific scenario involving [glob] with a trailing slash, the resulting files are treated improperly by [file tail].  An attached script, which can be run by
    $ make shell SCRIPT=filetailbug.tcl
    demonstrates the problem on my system.
    
    Expected output:
     /bin bin
    Actual output:
     /bin {}
    
  4. foundin changed to: "obsolete: 8.5.6"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "jepler"
  10. subsystem changed to: "37. File System"
  11. title changed to: "[file tail] gives wrong result"
  12. type changed to: "Bug"