diff options
author | pooryorick <com.digitalsmarties@pooryorick.com> | 2023-04-12 13:30:39 (GMT) |
---|---|---|
committer | pooryorick <com.digitalsmarties@pooryorick.com> | 2023-04-12 13:30:39 (GMT) |
commit | cf6c56c88d5339f1a4106b80aa7209ee5f061e50 (patch) | |
tree | 155947fa3710efc77fc09abcf12c46652e30fcb6 /generic/tclIO.h | |
parent | b571892e4f3f2776d9794279256e3532a2c2c861 (diff) | |
download | tcl-cf6c56c88d5339f1a4106b80aa7209ee5f061e50.zip tcl-cf6c56c88d5339f1a4106b80aa7209ee5f061e50.tar.gz tcl-cf6c56c88d5339f1a4106b80aa7209ee5f061e50.tar.bz2 |
Correct spelling errors in comments and documentation, but also a non-comment
corrections in history.tcl and tcltest.test.
Diffstat (limited to 'generic/tclIO.h')
-rw-r--r-- | generic/tclIO.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclIO.h b/generic/tclIO.h index 5d02569..399acdb 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; @@ -224,7 +224,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. |