summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclIOUtil.c')
-rw-r--r--generic/tclIOUtil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c
index 0600a6c..96f1b30 100644
--- a/generic/tclIOUtil.c
+++ b/generic/tclIOUtil.c
@@ -411,7 +411,7 @@ static FilesystemRecord nativeFilesystemRecord = {
* trigger cache cleanup in all threads.
*/
-static int theFilesystemEpoch = 0;
+static int theFilesystemEpoch = 1;
/*
* Stores the linked list of filesystems. A 1:1 copy of this list is also
@@ -672,7 +672,7 @@ int
TclFSEpochOk(
int filesystemEpoch)
{
- return (filesystemEpoch == theFilesystemEpoch);
+ return (filesystemEpoch == 0 || filesystemEpoch == theFilesystemEpoch);
}
static void