summaryrefslogtreecommitdiffstats
path: root/generic/tclBinary.c
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2023-04-12 14:25:41 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2023-04-12 14:25:41 (GMT)
commitb77f43bb1120210cb1cbb467f8a29ab1cb004162 (patch)
tree0854fb4160c59caca2e4ce994f245d75ca52eb7d /generic/tclBinary.c
parent3d91df248993bec5f3545fa327bf6baef9968331 (diff)
parent83677a47e7b79ee7a64d2053ed2871b850898a2e (diff)
downloadtcl-b77f43bb1120210cb1cbb467f8a29ab1cb004162.zip
tcl-b77f43bb1120210cb1cbb467f8a29ab1cb004162.tar.gz
tcl-b77f43bb1120210cb1cbb467f8a29ab1cb004162.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/tclBinary.c')
-rw-r--r--generic/tclBinary.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclBinary.c b/generic/tclBinary.c
index 1083533..37dc921 100644
--- a/generic/tclBinary.c
+++ b/generic/tclBinary.c
@@ -26,7 +26,7 @@
#define BINARY_NOCOUNT ((size_t)-2) /* No count was specified in format. */
/*
- * The following flags may be ORed together and returned by GetFormatSpec
+ * The following flags may be OR'ed together and returned by GetFormatSpec
*/
#define BINARY_SIGNED 0 /* Field to be read as signed data */
@@ -37,7 +37,7 @@
* placed in the object cache by 'binary scan' before it bails out and
* switches back to Plan A (creating a new object for each value.)
* Theoretically, it would be possible to keep the cache about for the values
- * that are already in it, but that makes the code slower in practise when
+ * that are already in it, but that makes the code slower in practice when
* overflow happens, and makes little odds the rest of the time (as measured
* on my machine.) It is also slower (on the sample I tried at least) to grow
* the cache to hold all items we might want to put in it; presumably the
@@ -1047,7 +1047,7 @@ BinaryFormatCmd(
}
/*
- * Prepare the result object by preallocating the caclulated number of
+ * Prepare the result object by preallocating the calculated number of
* bytes and filling with nulls.
*/
@@ -1808,7 +1808,7 @@ GetFormatSpec(
*
* This routine determines, if bytes of a number need to be re-ordered,
* and returns a numeric code indicating the re-ordering to be done.
- * This depends on the endiannes of the machine and the desired format.
+ * This depends on the endianness of the machine and the desired format.
* It is in effect a table (whose contents depend on the endianness of
* the system) describing whether a value needs reversing or not. Anyone
* porting the code to a big-endian platform should take care to make