Skip to content
Tcl Source Code History Of Ticket 1074671fffffffff
Login

History Of Ticket 1074671fffffffff

Artifacts Associated With Ticket 1074671fffffffff

  1. Ticket change [1f5e42fdcd] (rid 91135) by ralfixx on 2004-11-28 15:14:09:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Preparation: create a file starting with tilde
      $ touch ./~foo
      
      $ tclsh8.4
      % info patchlevel
      8.4.6
      
      Setting and using a regular string variable with that
      file name fails:
      % set file ~foo
      ~foo
      % file tail $file
       user "foo" doesn't exist
      
      Using the result of glob succeeds though:
      % set file2 [lindex [glob *foo] 0]
      ~foo
      % file tail $file2
      ./~foo
      
      The variables file and file2 compare equal, but file
      tail gives different results:
      % string equal $file $file2
      1
      % file tail $file2
      ./~foo
      % file tail $file
      user "foo" doesn't exist
      
      When the glob-variable is manipulated in any way, the
      file command fails, too:
      % append file2 {}
      ~foo
      % file tail $file2
      user "foo" doesn't exist
      
      I would have expected to get consistent results in all
      cases, regardless of whether the variable was the
      result of a glob or not.
      
      R'
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "ralfixx"
    9. subsystem initialized to: "16. Commands A-H"
    10. title initialized to: "handling of ~ in variables used as file names"
    11. type initialized to: "Bug"
  2. Ticket change [c2b23200ce] (rid 111526) by dkf on 2004-11-29 00:13:10:

    1. assignee changed to: "vincentdarley"
    2. foundin changed to: "obsolete: 8.4.6"
    3. subsystem changed to: "37. File System"
  3. Ticket change [8da13a43e6] (rid 127965) by vincentdarley on 2004-12-03 01:46:16:

    1. closedate changed to: "2004-12-02T18:46:16"
    2. closer changed to: "vincentdarley"
    3. icomment:
      Logged In: YES 
      user_id=32170
      
      Fixed (in 8.4 and 8.5) -- thanks!
      
      
      
    4. login: "vincentdarley"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "vincentdarley"