summaryrefslogtreecommitdiffstats
path: root/win/tclWinFile.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-11-13 12:52:29 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-11-13 12:52:29 (GMT)
commit99ee3e86d7609d5997af776b3df13a7f3e19c89c (patch)
tree6991b42a7a4950b4cecef57887be735fa5860da6 /win/tclWinFile.c
parent7d10d699c786fe96c4fc95e963108db3f674284a (diff)
parent3bbc2317b3c2fb91fe9afbe04708c7e15db60f55 (diff)
downloadtcl-99ee3e86d7609d5997af776b3df13a7f3e19c89c.zip
tcl-99ee3e86d7609d5997af776b3df13a7f3e19c89c.tar.gz
tcl-99ee3e86d7609d5997af776b3df13a7f3e19c89c.tar.bz2
Improve documentation on the use of com ports (remove references to Windows 95, deprecate the use of postfix ':').
Allow lpt[5-9] just as com[5-9], and make sure that path normalization works as expected for ports > 4.
Diffstat (limited to 'win/tclWinFile.c')
-rw-r--r--win/tclWinFile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinFile.c b/win/tclWinFile.c
index 4cd042a..d6ca348 100644
--- a/win/tclWinFile.c
+++ b/win/tclWinFile.c
@@ -1262,9 +1262,9 @@ WinIsReserved(
} else if ((path[0] == 'l' || path[0] == 'L')
&& (path[1] == 'p' || path[1] == 'P')
&& (path[2] == 't' || path[2] == 'T')) {
- if (path[3] >= '1' && path[3] <= '3') {
+ if (path[3] >= '1' && path[3] <= '9') {
/*
- * May have match for 'lpt[1-3]:?'
+ * May have match for 'lpt[1-9]:?'
*/
if (path[4] == '\0') {