diff options
author | dgp <dgp@users.sourceforge.net> | 2016-09-08 12:36:59 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2016-09-08 12:36:59 (GMT) |
commit | e36a7a2e7fa1f1afb57f5e6b06917180e429cd72 (patch) | |
tree | 0790c02161f6cdec20d21508c7d67661383df3b3 /unix/tclUnixChan.c | |
parent | 90bd7a732609ca0664078461027a02ae6f357d97 (diff) | |
parent | d18e6da3e471bdaecc24da3e4dfb28620b880daa (diff) | |
download | tcl-e36a7a2e7fa1f1afb57f5e6b06917180e429cd72.zip tcl-e36a7a2e7fa1f1afb57f5e6b06917180e429cd72.tar.gz tcl-e36a7a2e7fa1f1afb57f5e6b06917180e429cd72.tar.bz2 |
merge 8.6.3
Diffstat (limited to 'unix/tclUnixChan.c')
-rw-r--r-- | unix/tclUnixChan.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c index fdc9d1d..2eca714 100644 --- a/unix/tclUnixChan.c +++ b/unix/tclUnixChan.c @@ -1361,6 +1361,11 @@ TclpOpenFileChannel( native = Tcl_FSGetNativePath(pathPtr); if (native == NULL) { + if (interp != (Tcl_Interp *) NULL) { + Tcl_AppendResult(interp, "couldn't open \"", + TclGetString(pathPtr), "\": filename is invalid on this platform", + NULL); + } return NULL; } |