summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-14 09:22:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-14 09:22:18 (GMT)
commitf0ec68f07293dac2b967d45a3697073b77688970 (patch)
tree1c2e9c90480d43aa230b77653baff036339dc848 /generic
parent6e44927248852ae0356d9d3e1cfa3d69597a66b1 (diff)
downloadtcl-f0ec68f07293dac2b967d45a3697073b77688970.zip
tcl-f0ec68f07293dac2b967d45a3697073b77688970.tar.gz
tcl-f0ec68f07293dac2b967d45a3697073b77688970.tar.bz2
Prevent the usage of the term safe/unsafe child. Suggested by Keith Nash. Thanks!
More usage of $index<0 in stead of $index==-1 consistantly
Diffstat (limited to 'generic')
-rw-r--r--generic/tclInterp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclInterp.c b/generic/tclInterp.c
index 80c2534..e1a6d20 100644
--- a/generic/tclInterp.c
+++ b/generic/tclInterp.c
@@ -123,7 +123,7 @@ typedef struct Target {
*
* NB: the flags field in the interp structure, used with SAFE_INTERP mask
* denotes whether the interpreter is safe or not. Safe interpreters have
- * restricted functionality, can only create safe child interpreters and can
+ * restricted functionality, can only create safe interpreters and can
* only load safe extensions.
*/
@@ -3209,7 +3209,7 @@ Tcl_MakeSafe(
*/
/*
- * No env array in a safe child.
+ * No env array in a safe interpreter.
*/
Tcl_UnsetVar(interp, "env", TCL_GLOBAL_ONLY);