diff options
author | dgp <dgp@users.sourceforge.net> | 2014-11-17 13:00:42 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-11-17 13:00:42 (GMT) |
commit | 6be2b2840d82bf04df03ba282a9012072b9edb2a (patch) | |
tree | 3e222c7b968ef013445a78b338cbf8647450ffcd /generic | |
parent | dd3d636ee83cea5c446d72435c1bbf9e843264ec (diff) | |
parent | c297897b8f3cef07ec0a8b86f7bf56322f8e65dc (diff) | |
download | tcl-6be2b2840d82bf04df03ba282a9012072b9edb2a.zip tcl-6be2b2840d82bf04df03ba282a9012072b9edb2a.tar.gz tcl-6be2b2840d82bf04df03ba282a9012072b9edb2a.tar.bz2 |
merge trunk
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclFileName.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclFileName.c b/generic/tclFileName.c index 5d4702b..a7251bb 100644 --- a/generic/tclFileName.c +++ b/generic/tclFileName.c @@ -235,9 +235,9 @@ ExtractWinRoot( if ((path[0] == 'c' || path[0] == 'C') && (path[1] == 'o' || path[1] == 'O')) { if ((path[2] == 'm' || path[2] == 'M') - && path[3] >= '1' && path[3] <= '4') { + && path[3] >= '1' && path[3] <= '9') { /* - * May have match for 'com[1-4]:?', which is a serial port. + * May have match for 'com[1-9]:?', which is a serial port. */ if (path[4] == '\0') { @@ -257,9 +257,9 @@ ExtractWinRoot( } 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') { |