<i>windows dos device paths inconsistencies and missing functionality</i> status still Open with 4 other changes
by
.
D 2024-08-12T08:40:27.558
J assignee jan.nijtmans
J icomment First\sof\sall:\sThe\swindows\spath\sprefixes\sare\s\\\\?\\\sand\s\\\\.\\,\snot\s//?/\sand\s//./.\sCommunicating\swith\sthe\swin32\sAPI,\salways\sbackslashes\sshould\sbe\sused.\sOf\scource,\sTcl\sshould\shandle\sthat\sfor\syou.\r\n\r\nI\sdon't\sthink\sTcl\sshould\sreally\s\ssupport\sthe\s\\\\?\\\sand\sthe\s\\\\.\\\ssyntax:\sThey\sare\sa\sWindows\shack\sto\sdisable\sspecial\sWindows\spath\sprocessing.\sTcl\sscripts\sshould\sbe\sportable.\sTherefore,\sTcl\salready\shas\ssome\sspecial\sfile\spath\sprocessing\s(in\sthe\sTclNativeCreateNativeRep()\sfunction)\sto\shandle\sthis.\r\n\r\nSee:\s[https://core.tcl-lang.org/tcl/file?name=win/tclWinFile.c&ci=d5bba172c8301ec9&ln=3074-3152]\r\n\r\nWe\scould\sextend\sthis\sspecial\shandling:\sIf\sthe\spath\sends\swith\s'.'\s(but\sdoesn't\shave\sa\sslash\sor\sbackslash\simmediately\sbefore\sit),\salso\sadd\sthe\s\\\\?\\\sprefix.\sThat\swould\smean,\sTcl\sscripts\sdon't\shave\sto\sworry\sabout\sadding\sthe\s\\\\?\\\sprefix\sany\smore.\r\n\r\nI'll\shave\sa\sfurther\slook.\r\n\r\nHope\sthis\shelps,\r\n\s\s\s\s\s\s\sJan\sNijtmans
J login jan.nijtmans
J mimetype text/x-fossil-wiki
K d8f12171564f57c9ed3ca098d9498b9d76dfb3f7
U jan.nijtmans
Z 8357abc4b66ee573bc0aff98ad96fe03