diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-11-11 10:55:45 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-11-11 10:55:45 (GMT) |
commit | 25ba428ff94cd648fdeebeac8c045af1669b9dc9 (patch) | |
tree | 5c9ab625b62d5c0b9b868e1e3c2e133eeffab1e5 /generic | |
parent | 31647bcceb33c217f63d5687c3e12c63fd3bb47e (diff) | |
parent | 2020e9be615124cc00df46a0b44031c4b1f70590 (diff) | |
download | tcl-25ba428ff94cd648fdeebeac8c045af1669b9dc9.zip tcl-25ba428ff94cd648fdeebeac8c045af1669b9dc9.tar.gz tcl-25ba428ff94cd648fdeebeac8c045af1669b9dc9.tar.bz2 |
Fix [79614fb8b61983ac8ef30ea8752c310465798fc7|79614fb8b6]: "glob", "encoding system" and encoding-free filesystems
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclEncoding.c | 3 | ||||
-rw-r--r-- | generic/tclIOUtil.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/generic/tclEncoding.c b/generic/tclEncoding.c index 4edebcf..6820faa 100644 --- a/generic/tclEncoding.c +++ b/generic/tclEncoding.c @@ -976,7 +976,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. * *------------------------------------------------------------------------ */ @@ -1007,6 +1007,7 @@ Tcl_SetSystemEncoding( FreeEncoding(systemEncoding); systemEncoding = encoding; Tcl_MutexUnlock(&encodingMutex); + Tcl_FSMountsChanged(NULL); return TCL_OK; } diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c index 3aa0ce5..e00b9ac 100644 --- a/generic/tclIOUtil.c +++ b/generic/tclIOUtil.c @@ -638,8 +638,8 @@ FsGetFirstFilesystem(void) } /* - * The epoch can be changed both by filesystems being added or removed and by - * env(HOME) changing. + * The epoch can be changed by filesystems being added or removed, by changing + * the "system encoding" and by env(HOME) changing. */ int |