summaryrefslogtreecommitdiffstats
path: root/generic/tclFileName.c
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2004-09-27 15:00:25 (GMT)
committervincentdarley <vincentdarley>2004-09-27 15:00:25 (GMT)
commite2962e61d38ca4c00ad4d27eff96f3b8ac1db8a7 (patch)
tree4703373dd878abf4d2fcb6ee0fed5febf8af8046 /generic/tclFileName.c
parentda51bc5dc9d1f819d20687230ac8c60b3be2dbfb (diff)
downloadtcl-e2962e61d38ca4c00ad4d27eff96f3b8ac1db8a7.zip
tcl-e2962e61d38ca4c00ad4d27eff96f3b8ac1db8a7.tar.gz
tcl-e2962e61d38ca4c00ad4d27eff96f3b8ac1db8a7.tar.bz2
fix to small filesystem bugs
Diffstat (limited to 'generic/tclFileName.c')
-rw-r--r--generic/tclFileName.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/generic/tclFileName.c b/generic/tclFileName.c
index 0307ee1..9736096 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.55 2004/05/08 15:51:41 vincentdarley Exp $
+ * RCS: @(#) $Id: tclFileName.c,v 1.56 2004/09/27 15:00:26 vincentdarley Exp $
*/
#include "tclInt.h"
@@ -240,6 +240,12 @@ Tcl_GetPathType(path)
* tclIOUtil.c (but needs to be here due to its dependence on
* static variables/functions in this file). The exported
* function Tcl_FSGetPathType should be used by extensions.
+ *
+ * Note that '~' paths are always considered TCL_PATH_ABSOLUTE,
+ * even though expanding the '~' could lead to any possible
+ * path type. This function should therefore be considered a
+ * low-level, string-manipulation function only -- it doesn't
+ * actually do any expansion in making its determination.
*
* Results:
* Returns one of TCL_PATH_ABSOLUTE, TCL_PATH_RELATIVE, or