diff options
author | vincentdarley <vincentdarley> | 2005-03-15 18:40:58 (GMT) |
---|---|---|
committer | vincentdarley <vincentdarley> | 2005-03-15 18:40:58 (GMT) |
commit | 80ea434eccffb966c5168296cba7e635fafeb1f4 (patch) | |
tree | c86cd9c6c261a6b05908c7f90a9b2c35d60ec46f | |
parent | e6cc5abe3bbdf4ffe191a3e679436b8948890c9e (diff) | |
download | tcl-80ea434eccffb966c5168296cba7e635fafeb1f4.zip tcl-80ea434eccffb966c5168296cba7e635fafeb1f4.tar.gz tcl-80ea434eccffb966c5168296cba7e635fafeb1f4.tar.bz2 |
fix to file norm, file pathtype on windows reserved filenames - ensure build ok on unix
-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 f52db3a..f87c094 100644 --- a/generic/tclFileName.c +++ b/generic/tclFileName.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclFileName.c,v 1.65 2005/03/15 18:39:38 vincentdarley Exp $ + * RCS: @(#) $Id: tclFileName.c,v 1.66 2005/03/15 18:40:58 vincentdarley Exp $ */ #include "tclInt.h" @@ -187,17 +187,17 @@ ExtractWinRoot(path, resultPtr, offset, typePtr) } } else if ((path[0] == 'p' || path[0] == 'P') && (path[1] == 'r' || path[1] == 'R') - && (path[2] == 'n' || path[2] == 'N')) + && (path[2] == 'n' || path[2] == 'N')) { /* Have match for 'prn' */ abs = 3; } else if ((path[0] == 'n' || path[0] == 'N') && (path[1] == 'u' || path[1] == 'U') - && (path[2] == 'l' || path[2] == 'L')) + && (path[2] == 'l' || path[2] == 'L')) { /* Have match for 'nul' */ abs = 3; } else if ((path[0] == 'a' || path[0] == 'A') && (path[1] == 'u' || path[1] == 'U') - && (path[2] == 'x' || path[2] == 'X')) + && (path[2] == 'x' || path[2] == 'X')) { /* Have match for 'aux' */ abs = 3; } |