summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixChan.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-09-08 12:43:49 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-09-08 12:43:49 (GMT)
commitd2c080833061d96d6d76d4d3873e15796cdd815c (patch)
tree68cbdfa02b9e8e347fddbd0df773613cf75f45d4 /unix/tclUnixChan.c
parente36a7a2e7fa1f1afb57f5e6b06917180e429cd72 (diff)
parent14f15edc7322b01a23ee0ae2201d96ae38212d09 (diff)
downloadtcl-d2c080833061d96d6d76d4d3873e15796cdd815c.zip
tcl-d2c080833061d96d6d76d4d3873e15796cdd815c.tar.gz
tcl-d2c080833061d96d6d76d4d3873e15796cdd815c.tar.bz2
merge 8.6.4
Diffstat (limited to 'unix/tclUnixChan.c')
-rw-r--r--unix/tclUnixChan.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c
index 2eca714..a1fe090 100644
--- a/unix/tclUnixChan.c
+++ b/unix/tclUnixChan.c
@@ -792,7 +792,7 @@ TtySetOptionProc(
*
* Results:
* A standard Tcl result. Also sets the supplied DString to the string
- * value of the option(s) returned. Sets error message if needed
+ * value of the option(s) returned. Sets error message if needed
* (by calling Tcl_BadChannelOption).
*
*----------------------------------------------------------------------
@@ -1201,7 +1201,7 @@ TtyParseMode(
char parity;
const char *bad = "bad value for -mode";
- i = sscanf(mode, "%d,%c,%d,%d%n",
+ i = sscanf(mode, "%d,%c,%d,%d%n",
&ttyPtr->baud,
&parity,
&ttyPtr->data,
@@ -1292,7 +1292,7 @@ TtyInit(
|| iostate.c_lflag != 0
|| iostate.c_cflag & CREAD
|| iostate.c_cc[VMIN] != 1
- || iostate.c_cc[VTIME] != 0)
+ || iostate.c_cc[VTIME] != 0)
{
iostate.c_iflag = IGNBRK;
iostate.c_oflag = 0;
@@ -1824,7 +1824,7 @@ TclUnixWaitForFile(
if (FD_ISSET(fd, &writableMask)) {
SET_BITS(result, TCL_WRITABLE);
}
- if (FD_ISSET(fd, &exceptionMask)) {
+ if (FD_ISSET(fd, &exceptionMask)) {
SET_BITS(result, TCL_EXCEPTION);
}
result &= mask;