summaryrefslogtreecommitdiffstats
path: root/generic/tclIORTrans.c
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2014-08-02 19:20:06 (GMT)
committerKevin B Kenny <kennykb@acm.org>2014-08-02 19:20:06 (GMT)
commit2cfb3e19d01d75ab35c7cfeff3ec37c23dd34a4f (patch)
tree0de29565ab1dc6214ca6ef8e49eae3e7ee11608f /generic/tclIORTrans.c
parent54aa5c1f2d5513d45d1361a3615125a4810cc1c0 (diff)
parent3260faadc49ded6ca1d4aab4db21b5232cc647ff (diff)
downloadtcl-2cfb3e19d01d75ab35c7cfeff3ec37c23dd34a4f.zip
tcl-2cfb3e19d01d75ab35c7cfeff3ec37c23dd34a4f.tar.gz
tcl-2cfb3e19d01d75ab35c7cfeff3ec37c23dd34a4f.tar.bz2
merge trunk
Diffstat (limited to 'generic/tclIORTrans.c')
-rw-r--r--generic/tclIORTrans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIORTrans.c b/generic/tclIORTrans.c
index d2707a1..45ee08d 100644
--- a/generic/tclIORTrans.c
+++ b/generic/tclIORTrans.c
@@ -3178,7 +3178,7 @@ TransformWrite(
}
if (res < 0) {
- *errorCodePtr = EINVAL;
+ *errorCodePtr = Tcl_GetErrno();
return 0;
}
@@ -3288,7 +3288,7 @@ TransformFlush(
}
if (res < 0) {
- *errorCodePtr = EINVAL;
+ *errorCodePtr = Tcl_GetErrno();
return 0;
}