summaryrefslogtreecommitdiffstats
path: root/generic/tclEncoding.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-11 10:58:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-11 10:58:54 (GMT)
commitfcc907b2a6a470814e8f80dfb93fb88691804db0 (patch)
tree324673bbb34fc69e654b3f5fa048fdbe325a78c2 /generic/tclEncoding.c
parent6497c6c6ee29a81cf3be60da88104a6398c9878c (diff)
parent25ba428ff94cd648fdeebeac8c045af1669b9dc9 (diff)
downloadtcl-fcc907b2a6a470814e8f80dfb93fb88691804db0.zip
tcl-fcc907b2a6a470814e8f80dfb93fb88691804db0.tar.gz
tcl-fcc907b2a6a470814e8f80dfb93fb88691804db0.tar.bz2
Fix [79614fb8b61983ac8ef30ea8752c310465798fc7|79614fb8b6]: "glob", "encoding system" and encoding-free filesystems
Diffstat (limited to 'generic/tclEncoding.c')
-rw-r--r--generic/tclEncoding.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclEncoding.c b/generic/tclEncoding.c
index 99cb315..42be211 100644
--- a/generic/tclEncoding.c
+++ b/generic/tclEncoding.c
@@ -977,7 +977,7 @@ Tcl_GetEncodingNames(
* Side effects:
* The reference count of the new system encoding is incremented. The
* reference count of the old system encoding is decremented and it may
- * be freed.
+ * be freed. All VFS cached information is invalidated.
*
*------------------------------------------------------------------------
*/
@@ -1008,6 +1008,7 @@ Tcl_SetSystemEncoding(
FreeEncoding(systemEncoding);
systemEncoding = encoding;
Tcl_MutexUnlock(&encodingMutex);
+ Tcl_FSMountsChanged(NULL);
return TCL_OK;
}