summaryrefslogtreecommitdiffstats
path: root/generic/tclIORChan.c
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2023-04-12 09:35:08 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2023-04-12 09:35:08 (GMT)
commit3b742b785e159e8a3b9e25c985fd67ab028a19d2 (patch)
tree9f339863ba93d52279c75d3bb1967f4395f9a604 /generic/tclIORChan.c
parent6bdd668a7ce4815e5beb82b3fe15262f99d44987 (diff)
downloadtcl-3b742b785e159e8a3b9e25c985fd67ab028a19d2.zip
tcl-3b742b785e159e8a3b9e25c985fd67ab028a19d2.tar.gz
tcl-3b742b785e159e8a3b9e25c985fd67ab028a19d2.tar.bz2
Correct spelling errors in comments and documentation, but also non-comment
corrections in history.tcl and tcltest.test.
Diffstat (limited to 'generic/tclIORChan.c')
-rw-r--r--generic/tclIORChan.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/generic/tclIORChan.c b/generic/tclIORChan.c
index c43cde8..3eca3f8 100644
--- a/generic/tclIORChan.c
+++ b/generic/tclIORChan.c
@@ -10,7 +10,7 @@
*
* See TIP #219 for the specification of this functionality.
*
- * Copyright (c) 2004-2005 ActiveState, a divison of Sophos
+ * Copyright (c) 2004-2005 ActiveState, a division of Sophos
*
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
@@ -120,7 +120,7 @@ typedef struct {
* data in buffers is flushed out through the generation of fake file
* events.
*
- * See 'rechan', 'memchan', etc.
+ * See 'refchan', 'memchan', etc.
*
* Here this is _not_ required. Interest in events is posted to the Tcl
* level via 'watch'. And posting of events is possible from the Tcl level
@@ -131,7 +131,7 @@ typedef struct {
} ReflectedChannel;
/*
- * Structure of the table maping from channel handles to reflected
+ * Structure of the table mapping from channel handles to reflected
* channels. Each interpreter which has the handler command for one or more
* reflected channels records them in such a table, so that 'chan postevent'
* is able to find them even if the actual channel was moved to a different
@@ -870,8 +870,8 @@ TclChanPostEventObjCmd(
* handles of reflected channels, and only of such whose handler is
* defined in this interpreter.
*
- * We keep the old checks for both, for paranioa, but abort now instead of
- * throwing errors, as failure now means that our internal datastructures
+ * We keep the old checks for both, for paranoia, but abort now instead of
+ * throwing errors, as failure now means that our internal data structures
* have gone seriously haywire.
*/
@@ -1017,7 +1017,7 @@ UnmarshallErrorResult(
* Syntax = (option value)... ?message?
*
* Bad syntax causes a panic. This is OK because the other side uses
- * Tcl_GetReturnOptions and list construction functions to marshall the
+ * Tcl_GetReturnOptions and list construction functions to marshal the
* information; if we panic here, something has gone badly wrong already.
*/
@@ -1108,7 +1108,7 @@ TclChanCaughtErrorBypass(
* driver specific instance data.
*
* Results:
- * A posix error.
+ * A Posix error.
*
* Side effects:
* Releases memory. Arbitrary, as it calls upon a script.
@@ -1682,7 +1682,7 @@ ReflectWatch(
* is required of it.
*
* Results:
- * A posix error number.
+ * A Posix error number.
*
* Side effects:
* Allocates memory. Arbitrary, as it calls upon a script.
@@ -2179,7 +2179,7 @@ NewReflectedChannel(
* refcount of the returned object is -- zero --.
*
* Side effects:
- * May allocate memory. Mutex protected critical section locks out other
+ * May allocate memory. Mutex-protected critical section locks out other
* threads for a short time.
*
*----------------------------------------------------------------------
@@ -2233,7 +2233,7 @@ FreeReflectedChannel(
* InvokeTclMethod --
*
* This function is used to invoke the Tcl level of a reflected channel.
- * It handles all the command assembly, invokation, and generic state and
+ * It handles all the command assembly, invocation, and generic state and
* result mgmt. It does *not* handle thread redirection; that is the
* responsibility of clients of this function.
*
@@ -2261,8 +2261,8 @@ InvokeTclMethod(
{
Tcl_Obj *methObj = NULL; /* Method name in object form */
Tcl_InterpState sr; /* State of handler interp */
- int result; /* Result code of method invokation */
- Tcl_Obj *resObj = NULL; /* Result of method invokation. */
+ int result; /* Result code of method invocation */
+ Tcl_Obj *resObj = NULL; /* Result of method invocation. */
Tcl_Obj *cmd;
if (rcPtr->dead) {
@@ -2482,7 +2482,7 @@ GetReflectedChannelMap(
*
* Side effects:
* Deletes the hash table of channels. May close channels. May flush
- * output on closed channels. Removes any channeEvent handlers that were
+ * output on closed channels. Removes any channelEvent handlers that were
* registered in this interpreter.
*
*----------------------------------------------------------------------