summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixChan.c
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2024-09-17 14:19:53 (GMT)
committersebres <sebres@users.sourceforge.net>2024-09-17 14:19:53 (GMT)
commita680486042c9cb4f65899abb15dbc6bdcec5ec0a (patch)
tree9d8a49f149499f9a3ba4edc35c13b0f0004f471c /unix/tclUnixChan.c
parent18ed5377e67970c87daf0c2d6f0fee40e4744582 (diff)
downloadtcl-a680486042c9cb4f65899abb15dbc6bdcec5ec0a.zip
tcl-a680486042c9cb4f65899abb15dbc6bdcec5ec0a.tar.gz
tcl-a680486042c9cb4f65899abb15dbc6bdcec5ec0a.tar.bz2
improve comments (no functional changes)
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 (
(