summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2003-03-18 10:51:28 (GMT)
committervincentdarley <vincentdarley>2003-03-18 10:51:28 (GMT)
commit546d6ca6ea71958e884437bf65cb7b2421590747 (patch)
tree4f3e6b8972cfe7e3df3b65f45acff6e48418048d /generic
parent7a9c4243ac433c65c5b5ac2b90bd788b15307548 (diff)
downloadtcl-546d6ca6ea71958e884437bf65cb7b2421590747.zip
tcl-546d6ca6ea71958e884437bf65cb7b2421590747.tar.gz
tcl-546d6ca6ea71958e884437bf65cb7b2421590747.tar.bz2
Fixes for three filesystem problems
Diffstat (limited to 'generic')
-rw-r--r--generic/tclIOUtil.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c
index 29ba700..924689a 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.77 2003/03/03 20:22:41 das Exp $
+ * RCS: @(#) $Id: tclIOUtil.c,v 1.77.2.1 2003/03/18 10:51:31 vincentdarley Exp $
*/
#include "tclInt.h"
@@ -2528,6 +2528,8 @@ Tcl_FSChdir(pathPtr)
cwdPathPtr = normDirName;
Tcl_MutexUnlock(&cwdMutex);
}
+ } else {
+ Tcl_SetErrno(ENOENT);
}
return (retVal);