diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-04 13:59:36 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-04 13:59:36 (GMT) |
commit | f67e0871803fd2f7cd43ac5229188fe322550fa5 (patch) | |
tree | fe1fa7983f1e4125b964b5f0fa170c455eced1bf /generic/tclIORChan.c | |
parent | ac5f46d2701330d40d72814660be2efa4b69e39f (diff) | |
parent | 8defb7d10b69cdbe3219de6ae2dc169dc8df8bb9 (diff) | |
download | tcl-f67e0871803fd2f7cd43ac5229188fe322550fa5.zip tcl-f67e0871803fd2f7cd43ac5229188fe322550fa5.tar.gz tcl-f67e0871803fd2f7cd43ac5229188fe322550fa5.tar.bz2 |
Merge 8.6
Diffstat (limited to 'generic/tclIORChan.c')
-rw-r--r-- | generic/tclIORChan.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/generic/tclIORChan.c b/generic/tclIORChan.c index fd338e4..42d1e8a 100644 --- a/generic/tclIORChan.c +++ b/generic/tclIORChan.c @@ -87,7 +87,7 @@ static const Tcl_ChannelType tclRChannelType = { #if TCL_THREADS ReflectThread, /* thread action, tracking owner */ #else - (void *)-1, /* thread action */ + NULL, /* thread action */ #endif NULL /* truncate */ }; @@ -1347,8 +1347,8 @@ ReflectInput( if (p.base.code != TCL_OK) { if (p.base.code < 0) { /* - * No error message, this is an errno signal. - */ + * No error message, this is an errno signal. + */ *errorCodePtr = -p.base.code; } else { @@ -1453,8 +1453,8 @@ ReflectOutput( if (p.base.code != TCL_OK) { if (p.base.code < 0) { /* - * No error message, this is an errno signal. - */ + * No error message, this is an errno signal. + */ *errorCodePtr = -p.base.code; } else { @@ -2645,8 +2645,8 @@ DeleteReflectedChannelMap( evPtr = resultPtr->evPtr; /* - * Basic crash safety until this routine can get revised [3411310] - */ + * Basic crash safety until this routine can get revised [3411310] + */ if (evPtr == NULL) { continue; @@ -2796,8 +2796,8 @@ DeleteThreadReflectedChannelMap( evPtr = resultPtr->evPtr; /* - * Basic crash safety until this routine can get revised [3411310] - */ + * Basic crash safety until this routine can get revised [3411310] + */ if (evPtr == NULL ) { continue; |