diff options
| author | vincentdarley <vincentdarley> | 2004-01-29 10:28:18 (GMT) |
|---|---|---|
| committer | vincentdarley <vincentdarley> | 2004-01-29 10:28:18 (GMT) |
| commit | c0ec4a3a4928efbfdbf3aba3457a3e1a3b258bb3 (patch) | |
| tree | bc4f25a47a8614d6ef6beed61ae233eb487c80df /mac/tclMacFile.c | |
| parent | ec424769834f91d7cd11900ccab83f2d1f80d865 (diff) | |
| download | tcl-c0ec4a3a4928efbfdbf3aba3457a3e1a3b258bb3.zip tcl-c0ec4a3a4928efbfdbf3aba3457a3e1a3b258bb3.tar.gz tcl-c0ec4a3a4928efbfdbf3aba3457a3e1a3b258bb3.tar.bz2 | |
filesystem fixes for '-force' consistency and picky compilers
Diffstat (limited to 'mac/tclMacFile.c')
| -rw-r--r-- | mac/tclMacFile.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mac/tclMacFile.c b/mac/tclMacFile.c index 1c1279d..de5f422 100644 --- a/mac/tclMacFile.c +++ b/mac/tclMacFile.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: tclMacFile.c,v 1.29 2004/01/21 19:59:33 vincentdarley Exp $ + * RCS: @(#) $Id: tclMacFile.c,v 1.30 2004/01/29 10:28:22 vincentdarley Exp $ */ /* @@ -156,6 +156,11 @@ TclpMatchInDirectory(interp, resultPtr, pathPtr, pattern, types) OSType okCreator = 0; Tcl_Obj *fileNamePtr; + if (types != NULL && types->type == TCL_GLOB_TYPE_MOUNT) { + /* The native filesystem never adds mounts */ + return TCL_OK; + } + fileNamePtr = Tcl_FSGetTranslatedPath(interp, pathPtr); if (fileNamePtr == NULL) { return TCL_ERROR; |
