summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-02-06 22:48:34 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-02-06 22:48:34 (GMT)
commit5c88f32139644538542058b07833e3731af7be18 (patch)
treeaeb499092f019306364aa6075eab104c484306f5 /generic/tclInt.h
parent1d139334be18bced5b3d4d6b1117e47696032f07 (diff)
parent32a6fce0618ed21d85cf47b4b842ea9ee2c0c2e6 (diff)
downloadtcl-5c88f32139644538542058b07833e3731af7be18.zip
tcl-5c88f32139644538542058b07833e3731af7be18.tar.gz
tcl-5c88f32139644538542058b07833e3731af7be18.tar.bz2
[a4494e28ed] Use flag bit instead of NULL pointer to suppress
teardown list of imported commands when the original command gets re-created. This prevents the panic otherwise possible when the invalid state represented by the NULL pointer is encountered during a command delete trace.
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 7da0b7f..2aa1725 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -1686,6 +1686,7 @@ typedef struct Command {
#define CMD_TRACE_ACTIVE 0x2
#define CMD_HAS_EXEC_TRACES 0x4
#define CMD_COMPILES_EXPANDED 0x8
+#define CMD_REDEF_IN_PROGRESS 0x10
/*
*----------------------------------------------------------------