summaryrefslogtreecommitdiffstats
path: root/generic/tclFileName.c
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2003-10-06 09:49:19 (GMT)
committervincentdarley <vincentdarley>2003-10-06 09:49:19 (GMT)
commit667a4aad934603ef865cba2b5b15f4c5687dc0c4 (patch)
tree65328a9bee43268f3dc141a59f2f3d9a446710fd /generic/tclFileName.c
parentce5f8d3fdff40fbd42079a7d4c6acf2671e42c62 (diff)
downloadtcl-667a4aad934603ef865cba2b5b15f4c5687dc0c4.zip
tcl-667a4aad934603ef865cba2b5b15f4c5687dc0c4.tar.gz
tcl-667a4aad934603ef865cba2b5b15f4c5687dc0c4.tar.bz2
filesystem bug fixes: volumerelative normalization, file join inconsistency
Diffstat (limited to 'generic/tclFileName.c')
-rw-r--r--generic/tclFileName.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclFileName.c b/generic/tclFileName.c
index be689af..6d7a41c 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.40.2.4 2003/10/03 17:45:37 vincentdarley Exp $
+ * RCS: @(#) $Id: tclFileName.c,v 1.40.2.5 2003/10/06 09:49:19 vincentdarley Exp $
*/
#include "tclInt.h"
@@ -1392,7 +1392,8 @@ Tcl_TranslateFileName(interp, name, bufferPtr)
Tcl_DStringInit(bufferPtr);
Tcl_DStringAppend(bufferPtr, Tcl_GetString(transPtr), -1);
Tcl_DecrRefCount(path);
-
+ Tcl_DecrRefCount(transPtr);
+
/*
* Convert forward slashes to backslashes in Windows paths because
* some system interfaces don't accept forward slashes.