Skip to content
Tcl Source Code Artifact [adb5a76f60]
Login

Artifact [adb5a76f60]

Artifact adb5a76f6090c3bc896f5ffdf36ea0d98cf9884b:

Ticket change [adb5a76f60] - New ticket [217864ffffffffff|217864ffff] <i>Win32: [file mkdir] fails with absolute UNC path</i>. by nobody on 2000-10-26 00:45:05.
D 2000-10-26T00:45:05
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2064\sBug\nVersion:\s8.0.5\nSubmitDate:\s'1999-05-13'\nLastModified:\s'1999-08-12'\nSeverity:\sMED\nStatus:\sClosed\nSubmitter:\spat\nChangedBy:\shobbs\nRelatedBugIDs:\s672\nOS:\sWindows\sNT\nOSVersion:\s4.0\sBuild\s1381\sService\sPack\s4\nMachine:\sX86\nFixedDate:\s'2000-10-25'\nFixedInVersion:\s8.1.1\nClosedDate:\s'1999-08-12'\n\n\nName:\nKevin\sKenny\n\nExtensions:\nNone\srelevant\n\nCustomShell:\nPatch\sapplied\sfrom\sBugID:1693;\sthe\spatch\n\nComments:\nThe\sproblem\sappears\sto\sbe\srelated\sto\sthe\s'stat'\scall\sin\sMSVCRTD.DLL\n\s\s\s\s(I've\n\s\s\s\srecompiled\stcl80d.dll\sunder\sVC++\s6.0\sService\sPack\s#1).\s\sWhen\sthe\n\s\s\s\sTclFileMakeDirsCmd\sfunction\swalks\sthe\spath\sname\sfrom\stop\sto\sbottom,\n\s\s\s\sit\sfirst\stries\sto\sstat\s'\\\\host\\share'.\s\sThe\s'stat'\scall\sreturns\s-1,\n\s\s\s\swith\serrno\s==\sENOENT.\sAs\sa\sresult,\sthe\scommand\stries\sto\screate\sa\n\s\s\s\sdirectory\scalled\s'\\\\host\\share',\sand\sgets\san\serror\sreturn,\sthis\stime\n\s\s\s\swith\n\s\s\s\serrno\s==\sEEXIST.\s\s(If\scredentials\shave\snot\syet\sbeen\spresented\sto\n\s\s\s\s\\\\host,\sthe\serror\sis\sEACCES\sinstead.)\n\s\s\s\s\n\s\s\s\sI'm\snot\ssure\swhether\sthe\scorrect\ssolution\swould\sbe\sto\suse\san\sadditional\n\s\s\s\sstat\sproc\sto\scatch\sthis\scase,\sor\swhether\sa\s'compat/'\sversion\sof\s'stat'\n\s\s\s\sis\sneeded.\s\sEither\sway,\sthis\sappears\sto\sbe\san\sMSVCRT\sproblem,\sbut\n\s\s\s\syou\sknow\sas\swell\sas\sI\sdo\sthe\schances\sof\sgetting\s*that*\sfixed.\s\s:-(\n\nReproducibleScript:\n#\sIf\s\\\\host\\share\\dirName\sis\sa\sdirectory\sthat\sexists\son\ssome\shost\son\n\s\s\s\sthe\n\s\s\s\s#\snetwork,\sthen\sthe\scommand:\n\s\s\s\s\n\s\s\s\sfile\smkdir\s\\\\\\\\host\\\\share\\\\dirName\\\\subDirName\n\s\s\s\s\n\s\s\s\s#\swill\sfail\swith\sthe\smessage:\n\s\s\s\s#\s\s\scan't\screate\sdirectory\s"//host/share":\sfile\salready\sexists.\n\nObservedBehavior:\nThe\sdirectory\sis\snot\screated,\sand\sthe\serror\sabove\sis\sreported.\n\nDesiredBehavior:\nThe\sdirectory\sshould\sbe\screated.\n\n\n\nThis\swas\sfixed\sin\s8.1.1.\s\n--\s08/12/1999\shobbs
J foundin final:\s8.0.5
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title Win32:\s[file\smkdir]\sfails\swith\sabsolute\sUNC\spath
J type Bug
K 217864ffffffffffffffffffffffffffffffffff
U nobody
Z 455de5d84d48265e5c3d84bb0295aa0f