summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2003-02-03 20:16:52 (GMT)
committerKevin B Kenny <kennykb@acm.org>2003-02-03 20:16:52 (GMT)
commit6c76b17acdfef82d68e6edab9a29210cadc63df3 (patch)
tree7f4146e4f6fd25e776781cf6c10b506a924eb593 /doc
parent7bc2d8dd9e518114299f600782715f52bb30b5a5 (diff)
downloadtcl-6c76b17acdfef82d68e6edab9a29210cadc63df3.zip
tcl-6c76b17acdfef82d68e6edab9a29210cadc63df3.tar.gz
tcl-6c76b17acdfef82d68e6edab9a29210cadc63df3.tar.bz2
* generic/tclBasic.c: Changed [trace add command] so that 'rename'
callbacks get fully qualified names of the command. [Bug 651271]. ***POTENTIAL INCOMPATIBILITY*** * tests/trace.test: Modified the test cases for [trace add command] to expect fully qualified names on the 'rename' callbacks. Added a case for renaming a proc within a namespace. * doc/trace.n: Added language about use of fully qualified names in trace callbacks.
Diffstat (limited to 'doc')
-rw-r--r--doc/trace.n4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/trace.n b/doc/trace.n
index 0e2654b..892237e 100644
--- a/doc/trace.n
+++ b/doc/trace.n
@@ -6,7 +6,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: trace.n,v 1.11 2002/07/16 22:27:35 dgp Exp $
+'\" RCS: @(#) $Id: trace.n,v 1.12 2003/02/03 20:16:52 kennykb Exp $
'\"
.so man.macros
.TH trace n "8.4" Tcl "Tcl Built-In Commands"
@@ -66,6 +66,8 @@ is complete. Recursive renaming or deleting will not cause further traces
of the same type to be evaluated, so a delete trace which itself
deletes the command, or a rename trace which itself renames the
command will not cause further trace evaluations to occur.
+Both \fIoldName\fR and \fInewName\fR are fully qualified with any namespace(s)
+in which they appear.
.RE
.TP
\fBtrace add execution\fR \fIname ops command\fR