diff options
author | kjnash <k.j.nash@usa.net> | 2020-07-21 17:25:03 (GMT) |
---|---|---|
committer | kjnash <k.j.nash@usa.net> | 2020-07-21 17:25:03 (GMT) |
commit | 14cfbc651c24aa44c83023e8bba2781d322b230f (patch) | |
tree | 3481d47f6619a11f37dd92b16fdbbdebada2e233 /doc/safe.n | |
parent | 204434e4d41bb9e07b48d28331a6a63206dc36dd (diff) | |
download | tcl-14cfbc651c24aa44c83023e8bba2781d322b230f.zip tcl-14cfbc651c24aa44c83023e8bba2781d322b230f.tar.gz tcl-14cfbc651c24aa44c83023e8bba2781d322b230f.tar.bz2 |
Adapt Safe Base for interpreter names with namespace separators. Add a test and revise safe(n). Fixes bug [693851].
Diffstat (limited to 'doc/safe.n')
-rw-r--r-- | doc/safe.n | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -72,11 +72,19 @@ See the \fBOPTIONS\fR section below for a description of the optional arguments. If the \fIslave\fR argument is omitted, a name will be generated. \fB::safe::interpCreate\fR always returns the interpreter name. +.sp +The interpreter name \fIslave\fR may include namespace separators, +but may not have leading or trailing namespace separators, or excess +colon characters in namespace separators. The interpreter name is +qualified relative to the global namespace ::, not the namespace in which +the \fB::safe::interpCreate\fR command is evaluated. .TP \fB::safe::interpInit\fR \fIslave\fR ?\fIoptions...\fR? This command is similar to \fBinterpCreate\fR except it that does not create the safe interpreter. \fIslave\fR must have been created by some -other means, like \fBinterp create\fR \fB\-safe\fR. +other means, like \fBinterp create\fR \fB\-safe\fR. The interpreter +name \fIslave\fR may include namespace separators, subject to the same +restrictions as for \fBinterpCreate\fR. .TP \fB::safe::interpConfigure\fR \fIslave\fR ?\fIoptions...\fR? If no \fIoptions\fR are given, returns the settings for all options for the |