diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-11-11 10:53:10 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-11-11 10:53:10 (GMT) |
commit | 5341582764e9fd525adc2b70e060a7c338dd5ee8 (patch) | |
tree | 1f21a2ad95e3a4fa024c59ab508b9735260591ca | |
parent | 09077eceec17bc1586d2aefe2c38b857425045e6 (diff) | |
download | tcl-5341582764e9fd525adc2b70e060a7c338dd5ee8.zip tcl-5341582764e9fd525adc2b70e060a7c338dd5ee8.tar.gz tcl-5341582764e9fd525adc2b70e060a7c338dd5ee8.tar.bz2 |
Fix [79614fb8b61983ac8ef30ea8752c310465798fc7|79614fb8b6]: "glob", "encoding system" and encoding-free filesystems
-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 54a49aa..6c16827 100644 --- a/generic/tclEncoding.c +++ b/generic/tclEncoding.c @@ -979,7 +979,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. * *------------------------------------------------------------------------ */ @@ -1010,6 +1010,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 82ffd88..e1c5709 100644 --- a/generic/tclIOUtil.c +++ b/generic/tclIOUtil.c @@ -699,8 +699,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 |