summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley@noemail.net>2003-03-18 10:51:28 (GMT)
committervincentdarley <vincentdarley@noemail.net>2003-03-18 10:51:28 (GMT)
commit94b71b2d22cf40bd40f796d98d8a294092ae7851 (patch)
tree4f3e6b8972cfe7e3df3b65f45acff6e48418048d /generic/tclIOUtil.c
parent9b8196e085ef3aa27b8dc60695f6cdf57d0f9891 (diff)
downloadtcl-94b71b2d22cf40bd40f796d98d8a294092ae7851.zip
tcl-94b71b2d22cf40bd40f796d98d8a294092ae7851.tar.gz
tcl-94b71b2d22cf40bd40f796d98d8a294092ae7851.tar.bz2
Fixes for three filesystem problems
FossilOrigin-Name: 97a1623cd2e2ed06570ac4f1fa5de4425f1c39cb
Diffstat (limited to 'generic/tclIOUtil.c')
-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);