summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.h
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/tclIO.h
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/tclIO.h')
-rw-r--r--generic/tclIO.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclIO.h b/generic/tclIO.h
index 03bbce8..c7a3b7f 100644
--- a/generic/tclIO.h
+++ b/generic/tclIO.h
@@ -45,7 +45,7 @@ typedef struct ChannelBuffer {
struct ChannelBuffer *nextPtr;
/* Next buffer in chain. */
char buf[TCLFLEXARRAY]; /* Placeholder for real buffer. The real
- * buffer occuppies this space + bufSize-1
+ * buffer occupies this space + bufSize-1
* bytes. This must be the last field in the
* structure. */
} ChannelBuffer;
@@ -129,7 +129,7 @@ typedef struct ChannelState {
char *channelName; /* The name of the channel instance in Tcl
* commands. Storage is owned by the generic
* IO code, is dynamically allocated. */
- int flags; /* ORed combination of the flags defined
+ int flags; /* OR'ed combination of the flags defined
* below. */
Tcl_Encoding encoding; /* Encoding to apply when reading or writing
* data on this channel. NULL means no
@@ -209,7 +209,7 @@ typedef struct ChannelState {
* TIP #219 ... Info for the I/O system ...
* Error message set by channel drivers, for the propagation of arbitrary
* Tcl errors. This information, if present (chanMsg not NULL), takes
- * precedence over a posix error code returned by a channel operation.
+ * precedence over a Posix error code returned by a channel operation.
*/
Tcl_Obj* chanMsg;
@@ -222,7 +222,7 @@ typedef struct ChannelState {
} ChannelState;
/*
- * Values for the flags field in Channel. Any ORed combination of the
+ * Values for the flags field in Channel. Any OR'ed combination of the
* following flags can be stored in the field. These flags record various
* options and state bits about the channel. In addition to the flags below,
* the channel can also have TCL_READABLE (1<<1) and TCL_WRITABLE (1<<2) set.