diff options
author | hobbs <hobbs> | 2001-10-10 00:47:41 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2001-10-10 00:47:41 (GMT) |
commit | 4178398800d8e188aa085375a7b00c559c460eb9 (patch) | |
tree | 3e9b47e2ffad25cf327e2e7abd6ea6dd525aad48 | |
parent | 23b0a569409092ea419eb70a8fb2f76a16e0107d (diff) | |
download | tcl-4178398800d8e188aa085375a7b00c559c460eb9.zip tcl-4178398800d8e188aa085375a7b00c559c460eb9.tar.gz tcl-4178398800d8e188aa085375a7b00c559c460eb9.tar.bz2 |
corrected () balancing in back-port
-rw-r--r-- | generic/tclFileName.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclFileName.c b/generic/tclFileName.c index c68ce37..c0843af 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.13.2.1 2001/10/09 19:03:16 hobbs Exp $ + * RCS: @(#) $Id: tclFileName.c,v 1.13.2.2 2001/10/10 00:47:41 hobbs Exp $ */ #include "tclInt.h" @@ -223,7 +223,7 @@ ExtractWinRoot(path, resultPtr, offset, typePtr) char *tail = (char*)&path[3]; /* Skip separators */ - while (*tail && tail[0] == '/' || tail[0] == '\\') tail++; + while (*tail && (tail[0] == '/' || tail[0] == '\\')) tail++; *typePtr = TCL_PATH_ABSOLUTE; Tcl_DStringAppend(resultPtr, path, 2); |