summaryrefslogtreecommitdiffstats
path: root/generic/tclFileName.c
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley@noemail.net>2003-10-06 09:49:19 (GMT)
committervincentdarley <vincentdarley@noemail.net>2003-10-06 09:49:19 (GMT)
commit222db3303ccff799e89cc7b840d1745179c42ac3 (patch)
tree65328a9bee43268f3dc141a59f2f3d9a446710fd /generic/tclFileName.c
parenta37f3600a44a4a7de0d4218ad86a2e132209bf5e (diff)
downloadtcl-222db3303ccff799e89cc7b840d1745179c42ac3.zip
tcl-222db3303ccff799e89cc7b840d1745179c42ac3.tar.gz
tcl-222db3303ccff799e89cc7b840d1745179c42ac3.tar.bz2
filesystem bug fixes: volumerelative normalization, file join inconsistency
FossilOrigin-Name: a3d43f8f9643c77bc5f894bd9cfb1a7a592823a6
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.