summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2004-03-30 15:35:45 (GMT)
committervincentdarley <vincentdarley>2004-03-30 15:35:45 (GMT)
commit5b3cf09d56c6bccfa2d2d4ffcedab7afa9738188 (patch)
treee1181b1465473c4ac32033533ed4cf3cfec67c39 /generic/tclIOUtil.c
parente7a7c5a2234e5cee662915660923c347b6a5d07d (diff)
downloadtcl-5b3cf09d56c6bccfa2d2d4ffcedab7afa9738188.zip
tcl-5b3cf09d56c6bccfa2d2d4ffcedab7afa9738188.tar.gz
tcl-5b3cf09d56c6bccfa2d2d4ffcedab7afa9738188.tar.bz2
fix to glob with volume relative paths, bug 898238
Diffstat (limited to 'generic/tclIOUtil.c')
-rw-r--r--generic/tclIOUtil.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c
index a65971f..52bec32 100644
--- a/generic/tclIOUtil.c
+++ b/generic/tclIOUtil.c
@@ -17,7 +17,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclIOUtil.c,v 1.96 2004/03/17 18:14:13 das Exp $
+ * RCS: @(#) $Id: tclIOUtil.c,v 1.97 2004/03/30 15:35:46 vincentdarley Exp $
*/
#include "tclInt.h"
@@ -3442,8 +3442,15 @@ TclGetPathType(pathPtr, filesystemPtrPtr, driveNameLengthPtr, driveNameRef)
* non-NULL, then set to the
* filesystem which claims this
* path */
- int *driveNameLengthPtr;
- Tcl_Obj **driveNameRef;
+ int *driveNameLengthPtr; /* If the path is absolute, and
+ * this is non-NULL, then set to
+ * the length of the driveName */
+ Tcl_Obj **driveNameRef; /* If the path is absolute, and
+ * this is non-NULL, then set to
+ * the name of the drive,
+ * network-volume which contains
+ * the path, already with a
+ * refCount for the caller. */
{
FilesystemRecord *fsRecPtr;
int pathLen;