summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPipe.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-02-04 22:45:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-02-04 22:45:59 (GMT)
commitb203ab7aabea8ebece5250e15db03f9c6f96c2b6 (patch)
tree431a3e4a40b1c759ee826f2954fb7ac70838c3a5 /unix/tclUnixPipe.c
parente9034f37542010a9dfeb054699ce1c9e74169f59 (diff)
parenteee14742522aed25744851879c80a96134de7369 (diff)
downloadtcl-b203ab7aabea8ebece5250e15db03f9c6f96c2b6.zip
tcl-b203ab7aabea8ebece5250e15db03f9c6f96c2b6.tar.gz
tcl-b203ab7aabea8ebece5250e15db03f9c6f96c2b6.tar.bz2
Merge trunk
Diffstat (limited to 'unix/tclUnixPipe.c')
-rw-r--r--unix/tclUnixPipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixPipe.c b/unix/tclUnixPipe.c
index c42dfa7..0623648 100644
--- a/unix/tclUnixPipe.c
+++ b/unix/tclUnixPipe.c
@@ -524,7 +524,7 @@ TclpCreateProcess(
errPipeOut = NULL;
fd = GetFd(errPipeIn);
- count = read(fd, errSpace, (size_t) (sizeof(errSpace) - 1));
+ count = read(fd, errSpace, sizeof(errSpace) - 1);
if (count > 0) {
char *end;
@@ -1274,7 +1274,7 @@ Tcl_PidObjCmd(
* Get the channel and make sure that it refers to a pipe.
*/
- chan = Tcl_GetChannel(interp, Tcl_GetString(objv[1]), NULL);
+ chan = Tcl_GetChannel(interp, TclGetString(objv[1]), NULL);
if (chan == NULL) {
return TCL_ERROR;
}