Skip to content
Tcl Source Code History Of Ticket 3c13c4ed31
Login

History Of Ticket 3c13c4ed31

Artifacts Associated With Ticket 3c13c4ed31

  1. Ticket change [0c61261378] (rid 133257) by anonymous on 2013-08-12 11:34:37:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      OS is Windows7 64bit. 
      'file delete $file' on a symbolic link to a directory fails with: "illegal operation on a directory". (Same behaviour with option -force). The command works fine on a junction point.
      
    5. foundin initialized to: "8.5.14"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "97c7f8b9b76b8c0d18767167860208a183c85291"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "anonymous"
    14. subsystem initialized to: "16. Commands A-H"
    15. title initialized to:
      file delete command fails on symbolic links to directories
      
    16. type initialized to: "Bug"
  2. Ticket change [049f0f6bcf] (rid 133265) by jan.nijtmans on 2013-08-13 13:14:42:

    1. closedate changed to: "2456518.05188206"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      What is the content of the $file variable? Does it contain the
      ".lnk" extension? On Windows, links are just files with the
      .lnk extension, and Tcl handles them like that just fine.
      
      I created a directory "bar" and a link "bar1" to it in
      Windows explorer. See below for the behavior of Tcl 8.5
      on it. My conclusion: works as designed.
      
      I removed the 3 other tickets you submitted today, because
      they are all the same issue.
      ===================================================
      >dir
       Volume in drive C is WINDOWS
       Volume Serial Number is B47C-2648
      
       Directory of C:\bar
      
      13-08-2013  15:04    <DIR>          .
      13-08-2013  15:04    <DIR>          ..
      13-08-2013  15:04    <DIR>          foo
      13-08-2013  15:04             1.089 foo1.lnk
                     1 File(s)          1.089 bytes
                     3 Dir(s)  423.596.019.712 bytes free
      
      >tclsh85
      % glob *
      foo foo1.lnk
      % file delete foo1.lnk
      % exit
      
      >dir
       Volume in drive C is WINDOWS
       Volume Serial Number is B47C-2648
      
       Directory of C:\bar
      
      13-08-2013  15:06    <DIR>          .
      13-08-2013  15:06    <DIR>          ..
      13-08-2013  15:04    <DIR>          foo
                     0 File(s)              0 bytes
                     3 Dir(s)  423.596.015.616 bytes free
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Closed"