summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixChan.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/tclUnixChan.c')
-rw-r--r--unix/tclUnixChan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c
index e072cd7..7ec0770 100644
--- a/unix/tclUnixChan.c
+++ b/unix/tclUnixChan.c
@@ -1423,6 +1423,8 @@ TclpOpenFileChannel(
* We need this just to ensure we return the correct error messages under
* some circumstances (relative paths only), so because the normalization
* is very expensive, don't invoke it for native or absolute paths.
+ * Note: since paths starting with ~ are absolute, it also considers tilde expansion,
+ * (proper error message of tests *io-40.17 "tilde substitution in open")
*/
if (
(