Skip to content
Tcl Source Code History Of Ticket 218397
Login

History Of Ticket 218397

Artifacts Associated With Ticket 218397

  1. Ticket change [e9fd0d01bd] (rid 104900) by nobody on 2000-10-26 00:57:05:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 5216 Bug
      Version: 8.3
      SubmitDate: '2000-04-20'
      LastModified: '2000-04-20'
      Severity: LOW
      Status: Closed
      Submitter: techsupp
      ChangedBy: hobbs
      OS: Windows NT
      FixedDate: '2000-10-25'
      ClosedDate: '2000-04-20'
      
      
      Name:
      Jay Schmidgall
      
      ReproducibleScript:
      #--------- script ----------
      puts [ info script ]
      puts [ file dirname [ info script ] ]
      #---------- end ------------
      
      On a windows nt box, place the above script in some subdirectory, let's say C:\a\b\c\d as a file bug.tcl.
      
      Now, from the root directory, invoke the file:
      
      C:\> tclsh83d C:\a\b\c\d\test.tcl
      
      ObservedBehavior:
      In the above case, the output is
      
      C:\a\b\c\d\test.tcl
      C:/a/b/c/d
      
      Note the different forward and backward slashes. Of course, invoking the script with the command
      
      C:> tclsh83 C:/a/b/c/d/test.tcl
      
      works okay, but it would be nice if we had consistent results.
      
      DesiredBehavior:
      Both commands returning the string with forward slashes.
      
      
      
      This is the correct behavior.  [info script] returns the true
      value passed in, and [file dirname] will always return a Tcl
      normalized name.  You can get a native name with the file
      native command if you so choose. 
      -- 04/20/2000 hobbs
      
    4. foundin initialized to: "obsolete: 8.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to:
      Incorrect directory separator returned from info command
      
    11. type initialized to: "Bug"
  2. Ticket change [3f1690cfc7] (rid 121390) by welch on 2000-10-26 08:21:17:

    1. closedate changed to: "2000-10-26T01:21:17"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [14e01a3645] (rid 124467) by dgp on 2001-04-20 02:03:27:

    1. closedate changed to: "2001-04-19T19:03:27"
    2. closer changed to: "dgp"
    3. subsystem changed to: "17. Commands I-L"