Tcl Source Code

Artifact [3cc8eb28c6]
Login

Artifact 3cc8eb28c664f4c93ce0f5b93827ae0306e2a70a:

Attachment "openFileChannelProc.patch" to ticket [3518244fff] added by lobotomy642 2012-04-16 01:19:25.
--- doc/FileSystem.3.orig	2012-04-15 20:04:46.000000000 +0200
+++ doc/FileSystem.3	2012-04-15 20:07:49.000000000 +0200
@@ -1131,8 +1131,9 @@
 \fBTcl_FSOpenFileChannelProc\fR leaves an error message in \fIinterp\fR's
 result after any error.
 .PP
-The newly created channel is not registered in the supplied
-interpreter; to register it, use \fBTcl_RegisterChannel\fR. If one of
+The newly created channel must not be registered in the supplied
+interpreter, this task shall be handled by the caller of
+\fBTcl_FSOpenFileChannelProc\fR. If one of
 the standard channels, \fBstdin, stdout\fR or \fBstderr\fR was
 previously closed, the act of creating the new channel also assigns it
 as a replacement for the standard channel.