diff options
author | hypnotoad <yoda@etoyoc.com> | 2014-11-13 14:13:08 (GMT) |
---|---|---|
committer | hypnotoad <yoda@etoyoc.com> | 2014-11-13 14:13:08 (GMT) |
commit | e8791dff8521f08ab72ba7b5b3453d0b523b6c41 (patch) | |
tree | e4ffd7530c91f327857687d7b09a1f360f364f15 /win/tclWinChan.c | |
parent | 80eb226a4cd11f29ef5edbb116522735d1a106c9 (diff) | |
parent | 88c3379dd281e3efc6f1c961ff6cce618972065c (diff) | |
download | tcl-e8791dff8521f08ab72ba7b5b3453d0b523b6c41.zip tcl-e8791dff8521f08ab72ba7b5b3453d0b523b6c41.tar.gz tcl-e8791dff8521f08ab72ba7b5b3453d0b523b6c41.tar.bz2 |
Merging in changes from trunk
Diffstat (limited to 'win/tclWinChan.c')
-rw-r--r-- | win/tclWinChan.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win/tclWinChan.c b/win/tclWinChan.c index 48acacb..2d6c42c 100644 --- a/win/tclWinChan.c +++ b/win/tclWinChan.c @@ -843,6 +843,11 @@ TclpOpenFileChannel( nativeName = Tcl_FSGetNativePath(pathPtr); if (nativeName == NULL) { + if (interp != (Tcl_Interp *) NULL) { + Tcl_AppendResult(interp, "couldn't open \"", + TclGetString(pathPtr), "\": filename is invalid on this platform", + NULL); + } return NULL; } |