Skip to content
Tcl Source Code History Of Ticket 217864ffffffffff
Login

History Of Ticket 217864ffffffffff

Artifacts Associated With Ticket 217864ffffffffff

  1. Ticket change [adb5a76f60] (rid 101512) by nobody on 2000-10-26 00:45:05:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 2064 Bug
      Version: 8.0.5
      SubmitDate: '1999-05-13'
      LastModified: '1999-08-12'
      Severity: MED
      Status: Closed
      Submitter: pat
      ChangedBy: hobbs
      RelatedBugIDs: 672
      OS: Windows NT
      OSVersion: 4.0 Build 1381 Service Pack 4
      Machine: X86
      FixedDate: '2000-10-25'
      FixedInVersion: 8.1.1
      ClosedDate: '1999-08-12'
      
      
      Name:
      Kevin Kenny
      
      Extensions:
      None relevant
      
      CustomShell:
      Patch applied from BugID:1693; the patch
      
      Comments:
      The problem appears to be related to the 'stat' call in MSVCRTD.DLL
          (I've
          recompiled tcl80d.dll under VC++ 6.0 Service Pack #1).  When the
          TclFileMakeDirsCmd function walks the path name from top to bottom,
          it first tries to stat '\\host\share'.  The 'stat' call returns -1,
          with errno == ENOENT. As a result, the command tries to create a
          directory called '\\host\share', and gets an error return, this time
          with
          errno == EEXIST.  (If credentials have not yet been presented to
          \\host, the error is EACCES instead.)
          
          I'm not sure whether the correct solution would be to use an additional
          stat proc to catch this case, or whether a 'compat/' version of 'stat'
          is needed.  Either way, this appears to be an MSVCRT problem, but
          you know as well as I do the chances of getting *that* fixed.  :-(
      
      ReproducibleScript:
      # If \\host\share\dirName is a directory that exists on some host on
          the
          # network, then the command:
          
          file mkdir \\\\host\\share\\dirName\\subDirName
          
          # will fail with the message:
          #   can't create directory "//host/share": file already exists.
      
      ObservedBehavior:
      The directory is not created, and the error above is reported.
      
      DesiredBehavior:
      The directory should be created.
      
      
      
      This was fixed in 8.1.1. 
      -- 08/12/1999 hobbs
      
    4. foundin initialized to: "final: 8.0.5"
    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: "Win32: [file mkdir] fails with absolute UNC path"
    11. type initialized to: "Bug"
  2. Ticket change [97d60f5b9c] (rid 110503) by welch on 2000-10-26 07:59:48:

    1. closedate changed to: "2000-10-26T00:59:48"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Invalid"
    5. status changed to: "Closed"
  3. Ticket change [ae3b3bf3c7] (rid 101610) by dgp on 2001-04-13 23:33:54:

    1. closedate changed to: "2001-04-13T16:33:54"
    2. closer changed to: "dgp"
    3. subsystem changed to: "37. File System"