summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclIOUtil.c')
-rw-r--r--generic/tclIOUtil.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c
index b1bca76..e74e94e 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.68 2003/01/09 10:38:29 vincentdarley Exp $
+ * RCS: @(#) $Id: tclIOUtil.c,v 1.69 2003/01/10 15:03:53 vincentdarley Exp $
*/
#include "tclInt.h"
@@ -654,6 +654,15 @@ TclFinalizeFilesystem() {
#ifdef TCL_THREADS
filesystemOkToModify = NULL;
#endif
+ /*
+ * Cleans up the win32 API filesystem proc lookup table and
+ * any special encodings which have been loaded. This must
+ * happen after the filesystem has been closed down, or crashes
+ * can result (especially with vfs).
+ */
+#ifdef __WIN32__
+ TclWinFilesystemAndEncodingsCleanup();
+#endif
}
/*