diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-11-13 12:29:04 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-11-13 12:29:04 (GMT) |
| commit | 3bbc2317b3c2fb91fe9afbe04708c7e15db60f55 (patch) | |
| tree | 2e070255cd1e978416f280351bcd75699f51dab9 /win/tclWinFile.c | |
| parent | 1db5ff8c2cde3fd48be30ff8b9ce4c121eba21f6 (diff) | |
| download | tcl-3bbc2317b3c2fb91fe9afbe04708c7e15db60f55.zip tcl-3bbc2317b3c2fb91fe9afbe04708c7e15db60f55.tar.gz tcl-3bbc2317b3c2fb91fe9afbe04708c7e15db60f55.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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinFile.c b/win/tclWinFile.c index 7487022..76cd561 100644 --- a/win/tclWinFile.c +++ b/win/tclWinFile.c @@ -1246,9 +1246,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') { |
