Skip to content
Tcl Source Code Artifact [9ab66b198e]
Login

Artifact [9ab66b198e]

Artifact 9ab66b198e7467f5017ac1f67b123073302d3c64:

Ticket change [9ab66b198e] - Ticket [ae61a67192e4a9ff|ae61a67192] <i>file type on Windows generates error for built-in file names like CON</i> status still Open with 3 other changes by sebres on 2016-07-08 16:06:52.
D 2016-07-08T16:06:52.211
J icomment >\sNote\syou\scan\sopen\sc:/temp/con.txt\sand\swrite\sto\sit.\sOutput\sgoes\sto\sthe\sconsole.\r\n\r\nWhat\sI\smeant\swas,\sthat\sdescribed\sbehavior\sfor\sspecial\sbuilt-in\snames\sare\sexpected\sto\sbe\sfixed\sas\swell\sas\swithout\sextension\sand\swith\sextension\salso.\r\n\r\nSo\sin\sthe\spossible\sfix\sonly\sthe\sname\sof\sfile\sshould\sbe\sverified\s(without\sgiven\sextension\sor\sdirectory\sif\sit\swas\sspecified)...\r\n\r\nI\smean\ssomething\slike\s(following\scode\sin\stcl):\r\n```\r\nif\s{[string\stolower\s[file\sroot\s[file\stail\s"c:/a/b/c/con.txt"]]]\sin\s{con\slpt\s...}}\s{\r\n\s\s...\sspecial\scase\s(no\sfile)\s...\r\n}\selse\s{\r\n\s\s...\sfile\sor\sdirectory\s...\r\n}\r\n```
J login sebres
J mimetype text/plain
K ae61a67192e4a9ffea855790efc373ddb440926a
U sebres
Z 6ad24eda2a84875f42e6498bd770b810