Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a70c32b8a97c3991366b9d24725abfea4b621138
Ticket: 218172ffffffffffffffffffffffffffffffffff
list commands modifies strings containing backslashes
User & Date: nobody on 2000-10-26 00:54:07
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2282 Bug
    Version: 8.1.1
    SubmitDate: '1999-06-25'
    LastModified: '1999-06-29'
    Severity: LOW
    Status: Closed
    Submitter: techsupp
    ChangedBy: redman
    OS: Windows NT
    OSVersion: v 4.0 (also on Win95 and most likely on Win98)
    Machine: X86
    FixedDate: '2000-10-25'
    ClosedDate: '1999-06-29'
    
    
    Name:
    Ingemar Hansson
    
    ReproducibleScript:
    set files [glob ../*]
        set nFiles [file nativename $files]
        set sFiles [lsort -dictionary $nFiles]
        set someFile [lindex $nFiles 0]
    
    ObservedBehavior:
    On a Windows platform the "file nativename" command will replace all
        slashes with backslashes.
        All listcommands that modifies the list in one way or another treats the
        backslashes as escape characters and modifies the file names to
        something useless.
    
    DesiredBehavior:
    I consider this to be a bug. It really doesn't matter if the list
        elements represents files or something else. I don't think that the list
        commands should modify the content of the list.
        Desired behaviour is therefore to return the elements untouched.
    
    
    
    Unfortunate as it might seem to this user, this is correct behavior. 
    -- 06/29/1999 redman
    
  4. foundin changed to: "final: 8.1.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to:
    list commands modifies strings containing backslashes
    
  11. type changed to: "Bug"