summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.20034
-rw-r--r--changes2
-rw-r--r--doc/Encoding.32
-rw-r--r--generic/tclCompCmdsSZ.c6
-rw-r--r--generic/tclEvent.c2
-rw-r--r--generic/tclExecute.c2
-rw-r--r--generic/tclFCmd.c2
-rw-r--r--generic/tclIOUtil.c2
-rw-r--r--generic/tclInterp.c2
-rw-r--r--generic/tclListObj.c2
-rw-r--r--generic/tclObj.c8
-rw-r--r--generic/tclStringObj.c4
-rw-r--r--generic/tclUtil.c2
-rw-r--r--library/clock.tcl2
-rwxr-xr-xunix/configure2
-rw-r--r--unix/configure.ac2
-rw-r--r--unix/tclUnixTime.c2
17 files changed, 24 insertions, 24 deletions
diff --git a/ChangeLog.2003 b/ChangeLog.2003
index 3c3ee11..ec4109f 100644
--- a/ChangeLog.2003
+++ b/ChangeLog.2003
@@ -2331,7 +2331,7 @@
argument, the Tcl_Interp struct loses its termOffset field and the
TCL_BRACKET_TERM flag in the evalFlags field, all of which were only
used (indirectly) by Tcl_SubstObj(). Tests subst-8.7,8.8,11.4,11.5
- modified to accomodate the only behavior change: reporting of parse
+ modified to accommodate the only behavior change: reporting of parse
errors now takes precedence over [return] and [continue] exceptions.
All other behavior should remain compatible. [RFE 536831,684982] [Bug
685106]
@@ -2571,7 +2571,7 @@
2003-02-25 Don Porter <dgp@users.sourceforge.net>
* doc/pkgMkIndex.n: Modified [pkg_mkIndex] to use -nocase matching
- * library/package.tcl: of -load patterns, to better accomodate common
+ * library/package.tcl: of -load patterns, to better accommodate common
user errors due to confusion between [package names] names and [info
loaded] names.
diff --git a/changes b/changes
index 6fbf518..430686c 100644
--- a/changes
+++ b/changes
@@ -2486,7 +2486,7 @@ interpreter. (JL)
installing and requesting security policies, purely in Tcl code. Overloads
the package command to also allow an interpreter to "require" a policy. The
following new library commands are provided:
- tcl_safeCreateInterp -- creates a slave an initializes the
+ tcl_safeCreateInterp -- creates a slave and initializes the
policy mechanism.
tcl_safeInitInterp -- initializes an existing slave with the
policy mechanism.
diff --git a/doc/Encoding.3 b/doc/Encoding.3
index 2e50416..942d4c1 100644
--- a/doc/Encoding.3
+++ b/doc/Encoding.3
@@ -8,7 +8,7 @@
.so man.macros
.BS
.SH NAME
-Tcl_GetEncoding, Tcl_FreeEncoding, Tcl_GetEncodingFromObj, Tcl_ExternalToUtfDString, Tcl_UtfToExternalDStringEx, Tcl_ExternalToUtf, Tcl_UtfToExternalDString, Tcl_UtfToExternalDStringEx, Tcl_UtfToExternal, Tcl_GetEncodingName, Tcl_SetSystemEncoding, Tcl_GetEncodingNameFromEnvironment, Tcl_GetEncodingNames, Tcl_CreateEncoding, Tcl_GetEncodingSearchPath, Tcl_SetEncodingSearchPath \- procedures for creating and using encodings
+Tcl_GetEncoding, Tcl_FreeEncoding, Tcl_GetEncodingFromObj, Tcl_ExternalToUtfDString, Tcl_ExternalToUtfDStringEx, Tcl_ExternalToUtf, Tcl_UtfToExternalDString, Tcl_UtfToExternalDStringEx, Tcl_UtfToExternal, Tcl_GetEncodingName, Tcl_SetSystemEncoding, Tcl_GetEncodingNameFromEnvironment, Tcl_GetEncodingNames, Tcl_CreateEncoding, Tcl_GetEncodingSearchPath, Tcl_SetEncodingSearchPath \- procedures for creating and using encodings
.SH SYNOPSIS
.nf
\fB#include <tcl.h>\fR
diff --git a/generic/tclCompCmdsSZ.c b/generic/tclCompCmdsSZ.c
index b86aa43..c8fa120 100644
--- a/generic/tclCompCmdsSZ.c
+++ b/generic/tclCompCmdsSZ.c
@@ -4087,7 +4087,7 @@ CompileAssociativeBinaryOpCmd(
if (words > 3) {
/*
* Reverse order of arguments to get precise agreement with [expr] in
- * calcuations, including roundoff errors.
+ * calculations, including roundoff errors.
*/
OP4( REVERSE, words-1);
@@ -4538,7 +4538,7 @@ TclCompileMinusOpCmd(
/*
* Reverse order of arguments to get precise agreement with [expr] in
- * calcuations, including roundoff errors.
+ * calculations, including roundoff errors.
*/
TclEmitInstInt4(INST_REVERSE, words-1, envPtr);
@@ -4582,7 +4582,7 @@ TclCompileDivOpCmd(
/*
* Reverse order of arguments to get precise agreement with [expr] in
- * calcuations, including roundoff errors.
+ * calculations, including roundoff errors.
*/
TclEmitInstInt4(INST_REVERSE, words-1, envPtr);
diff --git a/generic/tclEvent.c b/generic/tclEvent.c
index 64935e6..a9ed1f6 100644
--- a/generic/tclEvent.c
+++ b/generic/tclEvent.c
@@ -957,7 +957,7 @@ Tcl_Exit(
/*
* Warning: this function SHOULD NOT return, as there is code that depends
* on Tcl_Exit never returning. In fact, we will Tcl_Panic if anyone
- * returns, so critical is this dependcy.
+ * returns, so critical is this dependency.
*
* If subsystems are not (yet) initialized, proper Tcl-finalization is
* impossible, so fallback to system exit, see bug-[f8a33ce3db5d8cc2].
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index 724a49e..7eb6a0e 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -1742,7 +1742,7 @@ TclCompileObj(
* of course).
*
* Side effects:
- * valuePtr gets the new incrmented value.
+ * valuePtr gets the new incremented value.
*
*----------------------------------------------------------------------
*/
diff --git a/generic/tclFCmd.c b/generic/tclFCmd.c
index c1dbc88..a34e80a 100644
--- a/generic/tclFCmd.c
+++ b/generic/tclFCmd.c
@@ -426,7 +426,7 @@ TclFileDeleteCmd(
if (result != TCL_OK) {
if (errfile == NULL) {
/*
- * We try to accomodate poor error results from our Tcl_FS calls.
+ * We try to accommodate poor error results from our Tcl_FS calls.
*/
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c
index 436d364..dc13a18 100644
--- a/generic/tclIOUtil.c
+++ b/generic/tclIOUtil.c
@@ -178,7 +178,7 @@ const Tcl_Filesystem tclNativeFilesystem = {
/*
* An initial record in the linked list for the native filesystem. Remains at
* the tail of the list and is never freed. Currently the native filesystem is
- * hard-coded. It may make sense to modify this to accomodate unconventional
+ * hard-coded. It may make sense to modify this to accommodate unconventional
* uses of Tcl that provide no native filesystem.
*/
diff --git a/generic/tclInterp.c b/generic/tclInterp.c
index ecc6e15..7c6c085 100644
--- a/generic/tclInterp.c
+++ b/generic/tclInterp.c
@@ -60,7 +60,7 @@ typedef struct {
Tcl_Obj *objPtr; /* The first actual prefix object - the target
* command name; this has to be at the end of
* the structure, which will be extended to
- * accomodate the remaining objects in the
+ * accommodate the remaining objects in the
* prefix. */
} Alias;
diff --git a/generic/tclListObj.c b/generic/tclListObj.c
index 7cf96cb..30bddb2 100644
--- a/generic/tclListObj.c
+++ b/generic/tclListObj.c
@@ -2344,7 +2344,7 @@ Tcl_ListObjReplace(
*/
/*
- * Calculate shifts if necessary to accomodate insertions.
+ * Calculate shifts if necessary to accommodate insertions.
* NOTE: all indices are relative to listObjs which is not necessarily the
* start of the ListStore storage area.
*
diff --git a/generic/tclObj.c b/generic/tclObj.c
index 16b9ca1..8aa7dd4 100644
--- a/generic/tclObj.c
+++ b/generic/tclObj.c
@@ -1016,7 +1016,7 @@ TclDbDumpActiveObjects(
*
* Called via the TclNewObj or TclDbNewObj macros when TCL_MEM_DEBUG is
* enabled. This function will initialize the members of a Tcl_Obj
- * struct. Initilization would be done inline via the TclNewObj macro
+ * struct. Initialization would be done inline via the TclNewObj macro
* when compiling without TCL_MEM_DEBUG.
*
* Results:
@@ -3157,7 +3157,7 @@ FreeBignum(
* None.
*
* Side effects:
- * The destination object receies a copy of the source object
+ * The destination object receives a copy of the source object
*
*----------------------------------------------------------------------
*/
@@ -3236,7 +3236,7 @@ UpdateStringOfBignum(
*
* Tcl_NewBignumObj --
*
- * Creates an initializes a bignum object.
+ * Creates and initializes a bignum object.
*
* Results:
* Returns the newly created object.
@@ -4248,7 +4248,7 @@ Tcl_GetCommandFromObj(
* None.
*
* Side effects:
- * The object's old internal rep is freed. It's string rep is not
+ * The object's old internal rep is freed. Its string rep is not
* changed. The refcount in the Command structure is incremented to keep
* it from being freed if the command is later deleted until
* TclNRExecuteByteCode has a chance to recognize that it was deleted.
diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c
index edfe141..34b185d 100644
--- a/generic/tclStringObj.c
+++ b/generic/tclStringObj.c
@@ -4166,7 +4166,7 @@ TclStringReplace(
* FillUnicodeRep --
*
* Populate the Unicode internal rep with the Unicode form of its string
- * rep. The object must alread have a "String" internal rep.
+ * rep. The object must already have a "String" internal rep.
*
* Results:
* None.
@@ -4316,7 +4316,7 @@ DupStringInternalRep(
* This operation always succeeds and returns TCL_OK.
*
* Side effects:
- * Any old internal reputation for objPtr is freed and the internal
+ * Any old internal representation for objPtr is freed and the internal
* representation is set to "String".
*
*----------------------------------------------------------------------
diff --git a/generic/tclUtil.c b/generic/tclUtil.c
index 0ebfb1d..d79fd97 100644
--- a/generic/tclUtil.c
+++ b/generic/tclUtil.c
@@ -3778,7 +3778,7 @@ TclIndexEncode(
*/
idx = after;
} else if (wide <= (irPtr ? INT_MAX : -1)) {
- /* These indices always indicate "before the beginning */
+ /* These indices always indicate "before the beginning" */
idx = before;
} else {
/* Encoded end-positive (or end+negative) are offset */
diff --git a/library/clock.tcl b/library/clock.tcl
index 136ded2..118d177 100644
--- a/library/clock.tcl
+++ b/library/clock.tcl
@@ -223,7 +223,7 @@ proc ::tcl::clock::Initialize {} {
::msgcat::mcset ru GREGORIAN_CHANGE_DATE 2421639
- # Romania (Transylvania changed earler - perhaps de_RO should show the
+ # Romania (Transylvania changed earlier - perhaps de_RO should show the
# earlier date?)
::msgcat::mcset ro GREGORIAN_CHANGE_DATE 2422063
diff --git a/unix/configure b/unix/configure
index 3734dc3..f01d67d 100755
--- a/unix/configure
+++ b/unix/configure
@@ -9619,7 +9619,7 @@ fi
#--------------------------------------------------------------------
-# On some systems strstr is broken: it returns a pointer even even if
+# On some systems strstr is broken: it returns a pointer even if
# the original string is empty.
#--------------------------------------------------------------------
diff --git a/unix/configure.ac b/unix/configure.ac
index 109af38..238e47a 100644
--- a/unix/configure.ac
+++ b/unix/configure.ac
@@ -394,7 +394,7 @@ AC_CHECK_FUNC(memmove, , [
AC_DEFINE(NO_STRING_H, 1, [Do we have <string.h>?]) ])
#--------------------------------------------------------------------
-# On some systems strstr is broken: it returns a pointer even even if
+# On some systems strstr is broken: it returns a pointer even if
# the original string is empty.
#--------------------------------------------------------------------
diff --git a/unix/tclUnixTime.c b/unix/tclUnixTime.c
index 7830dc8..eae7177 100644
--- a/unix/tclUnixTime.c
+++ b/unix/tclUnixTime.c
@@ -104,7 +104,7 @@ TclpGetMicroseconds(void)
* TclpGetClicks --
*
* This procedure returns a value that represents the highest resolution
- * clock available on the system. There are no garantees on what the
+ * clock available on the system. There are no guarantees on what the
* resolution will be. In Tcl we will call this value a "click". The
* start time is also system dependent.
*