summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-02-06 22:38:17 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-02-06 22:38:17 (GMT)
commit6e78f7a617b001eb5e35fe11cad2f469c0f48320 (patch)
tree1dcd49e5460f08137bd685f431b862090082fc7b /generic/tclInt.h
parent4ae04fa40387165f811a88d87a1140a07bf10215 (diff)
downloadtcl-6e78f7a617b001eb5e35fe11cad2f469c0f48320.zip
tcl-6e78f7a617b001eb5e35fe11cad2f469c0f48320.tar.gz
tcl-6e78f7a617b001eb5e35fe11cad2f469c0f48320.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 b45f8e3..f869ff0 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -1528,6 +1528,7 @@ typedef struct Command {
#define CMD_IS_DELETED 0x1
#define CMD_TRACE_ACTIVE 0x2
#define CMD_HAS_EXEC_TRACES 0x4
+#define CMD_REDEF_IN_PROGRESS 0x8
/*
*----------------------------------------------------------------