Skip to content
Tcl Source Code History Of Ticket 997889ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 997889ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 997889ffffffffffffffffffffffffffffffffff

  1. Ticket change [3da794009c] (rid 121124) by uring on 2004-07-26 08:43:01:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Run this example. It prints "/tmp/foo/bar" instead of
      "/tmp/xxx/bar" .
      
      #
      -----------------------------------------------------------
      cd /tmp                       ;# working directory
      file delete -force foo xxx    ;# make clean
      file mkdir foo/bar            ;# some directories
      file link xxx foo             ;# xxx -> foo
      
      set target xxx/bar            ;# store path of
      subdirectory in variable
      file isdirectory $target      ;# check xxx/bar
      file delete xxx               ;# now delete symlink
      file copy foo xxx             ;# recreate as copy of bar
      
      puts [file normalize $target]
      #
      ----------------------------------------------------------
      
      Comments:
      
      (1) uncomment "file isdirectory ..." and it's OK
      (2) change to "file isdirectory xxx/bar" and it's OK
      
      I assume that the path /tmp/foo/bar is cached in the
      variable "target" (in Tcl_Obj's internal representation).
      
      Having "string length $target" _after_ "file
      isdirectory $target"
      changes variable to string type and things are OK.
      
      
      -----
      Ulrich Ring - [email protected]
      
      
    4. foundin initialized to: "obsolete: 8.4.6"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "uring"
    9. subsystem initialized to: "16. Commands A-H"
    10. title initialized to: "file normalize returns wrong path"
    11. type initialized to: "Bug"
  2. Ticket change [7849d21b85] (rid 89936) by dgp on 2004-07-27 21:11:54:

    1. status changed to: "Pending"
  3. Ticket change [175c797cc8] (rid 122481) by dgp on 2004-07-27 21:11:55:

    1. assignee changed to: "vincentdarley"
    2. closedate changed to: "2004-07-27T14:11:55"
    3. closer changed to: "dgp"
    4. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Looks like a Duplicate of 953284
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Duplicate"
    8. subsystem changed to: "37. File System"
    9. username: "dgp"
  4. Ticket change [75be2ec64d] (rid 105439) by uring on 2004-07-27 22:10:39:

    1. icomment:
      Logged In: YES 
      user_id=123371
      
      
      BTW: 
      
      I'm not able to reproduce the bug with tcl8.5a1.
      
      
    2. login: "uring"
    3. mimetype: "text/plain"
    4. status changed to: "Open"
    5. username: "uring"
  5. Ticket change [8ef08af66c] (rid 120203) by dgp on 2004-07-31 10:30:10:

    1. closedate changed to: "2004-07-31T03:30:10"
    2. closer changed to: "dgp"
    3. status changed to: "Closed"