diff options
author | andreask <andreask> | 2014-11-06 18:38:36 (GMT) |
---|---|---|
committer | andreask <andreask> | 2014-11-06 18:38:36 (GMT) |
commit | 10dc783c93904a502f6ad58d7780b5c4b8b88c63 (patch) | |
tree | c8ac936da5fd2bc1d67b309ab88bd64ee0ef1609 /unix | |
parent | 717a98747db66b00ae22dad0e3fc862ba814a816 (diff) | |
parent | 0c027bb7066b06799c1eb4b062985bf37facc302 (diff) | |
download | tcl-10dc783c93904a502f6ad58d7780b5c4b8b88c63.zip tcl-10dc783c93904a502f6ad58d7780b5c4b8b88c63.tar.gz tcl-10dc783c93904a502f6ad58d7780b5c4b8b88c63.tar.bz2 |
Merged latest trunk work (especially changes to eof handling) into the RC.
Diffstat (limited to 'unix')
-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; } |