summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2001-09-28 11:10:56 (GMT)
committervincentdarley <vincentdarley>2001-09-28 11:10:56 (GMT)
commitcae247df825bf42c0dd22f43f2047a307d54eb65 (patch)
treeac71695978289a7c8aab3987c2ba9f64896f49d5 /win
parentb32ac06e6c6eecabdceefee25539d048dcfb00fe (diff)
downloadtcl-cae247df825bf42c0dd22f43f2047a307d54eb65.zip
tcl-cae247df825bf42c0dd22f43f2047a307d54eb65.tar.gz
tcl-cae247df825bf42c0dd22f43f2047a307d54eb65.tar.bz2
normalize fix
Diffstat (limited to 'win')
-rw-r--r--win/tclWinFCmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinFCmd.c b/win/tclWinFCmd.c
index 5981ac2..0611ca8 100644
--- a/win/tclWinFCmd.c
+++ b/win/tclWinFCmd.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinFCmd.c,v 1.13 2001/09/28 01:21:53 dgp Exp $
+ * RCS: @(#) $Id: tclWinFCmd.c,v 1.14 2001/09/28 11:10:56 vincentdarley Exp $
*/
#include "tclWinInt.h"
@@ -1731,7 +1731,7 @@ TclpObjNormalizePath(interp, pathPtr, nextCheckpoint)
while (1) {
char cur = *currentPathEndPosition;
- if (cur == '/' || cur == 0) {
+ if ((cur == '/' || cur == 0) && (path != currentPathEndPosition)) {
/* Reached directory separator, or end of string */
Tcl_DString ds;
DWORD attr;