diff options
Diffstat (limited to 'doc/GetStdChan.3')
-rw-r--r-- | doc/GetStdChan.3 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/GetStdChan.3 b/doc/GetStdChan.3 index 045d15a..7bc2e1b 100644 --- a/doc/GetStdChan.3 +++ b/doc/GetStdChan.3 @@ -53,9 +53,11 @@ set to NULL. .PP If a non-NULL value for \fIchannel\fR is passed to \fBTcl_SetStdChannel\fR, then that same value should be passed to \fBTcl_RegisterChannel\fR, like so: +.PP .CS Tcl_RegisterChannel(NULL, channel); .CE +.PP This is a workaround for a misfeature in \fBTcl_SetStdChannel\fR that it fails to do some reference counting housekeeping. This misfeature cannot be corrected without contradicting the assumptions of some existing |