Skip to content
Tcl Source Code History Of Ticket 1219176
Login

History Of Ticket 1219176

Artifacts Associated With Ticket 1219176

  1. Ticket change [346254f97c] (rid 106757) by tngd on 2005-06-12 14:25:10:

    1. assignee initialized to: "vincentdarley"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      System: WinXP, Tcl/Tk 8.5 CVS (current), Mingw gcc 3.4.2
      
      i get these problems when creating absolute directories:
      
      % file mkdir .                          <-- no error here
      % file mkdir c:/
      can't create directory "c:/": permission denied
      % file mkdir c:/windows
      can't create directory "c:/": permission denied
      % file mkdir c:/w
      can't create directory "c:/": permission denied
      % file mkdir /home
      can't create directory "/": permission denied
      
      In function TclFileMakeDirsCmd (tclFCmd.c:222) it
      checks if the destination target exists, and if it is
      not a directory, it will attempt to create it. But, if
      it does exist and is a directory it will still call
      Tcl_FSCreateDirectory.
      
      patch is attached with proposed fix (which seems
      reasonable to me).
      
      I havent tested it on other platforms (no idea if it
      has any impact on symlinks since i did not look inside
      function Tcl_FSCreateDirectory.
      
    4. foundin initialized to: "obsolete: 8.5a4"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "tngd"
    9. subsystem initialized to: "37. File System"
    10. title initialized to: "file mkdir fails on existing directories"
    11. type initialized to: "Bug"
  2. Ticket change [bc5c907a71] (rid 101735) by tngd on 2005-06-12 21:25:10:

    1. icomment:
      
      
      File Added - 138093: tclFCmd.c.diff
      
      
      
    2. login: "tngd"
    3. mimetype: "text/plain"
    4. username: "tngd"
  3. Add attachment "tclFCmd.c.diff" [0444cb74bb] (rid 119968) by tngd on 2005-06-12 21:25:10.

  4. Ticket change [6dc4a29866] (rid 128755) by vincentdarley on 2005-06-13 15:32:25:

    1. closedate changed to: "2005-06-13T08:32:25"
    2. closer changed to: "vincentdarley"
    3. icomment:
      Logged In: YES 
      user_id=32170
      
      Fixed this, and made sure tests pass correctly.  Also added
      more comments so code paths are clearer.
      
      
      
    4. login: "vincentdarley"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "vincentdarley"