diff options
author | davygrvy@pobox.com <davygrvy> | 2003-12-24 04:18:18 (GMT) |
---|---|---|
committer | davygrvy@pobox.com <davygrvy> | 2003-12-24 04:18:18 (GMT) |
commit | 09f3f1e13de3f29f152261bc48e1175f8897dedf (patch) | |
tree | eff546c6e792fecd4310f81379419c1d68d63c28 /generic/tclEncoding.c | |
parent | 2bb7451feb141f047c02c5a2a184101da43c3e3a (diff) | |
download | tcl-09f3f1e13de3f29f152261bc48e1175f8897dedf.zip tcl-09f3f1e13de3f29f152261bc48e1175f8897dedf.tar.gz tcl-09f3f1e13de3f29f152261bc48e1175f8897dedf.tar.bz2 |
All uses of 'panic' (the macro) changed
to 'Tcl_Panic' (the function). The #define
of panic in tcl.h clearly states it is
deprecated in the comments.
[Patch 865264]
Diffstat (limited to 'generic/tclEncoding.c')
-rw-r--r-- | generic/tclEncoding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclEncoding.c b/generic/tclEncoding.c index 576a479..a0b7b7f 100644 --- a/generic/tclEncoding.c +++ b/generic/tclEncoding.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclEncoding.c,v 1.16 2003/02/21 02:40:58 hobbs Exp $ + * RCS: @(#) $Id: tclEncoding.c,v 1.17 2003/12/24 04:18:19 davygrvy Exp $ */ #include "tclInt.h" @@ -2764,7 +2764,7 @@ GetTableEncoding(dataPtr, state) encodingPtr = (Encoding *) Tcl_GetEncoding(NULL, subTablePtr->name); if ((encodingPtr == NULL) || (encodingPtr->toUtfProc != TableToUtfProc)) { - panic("EscapeToUtfProc: invalid sub table"); + Tcl_Panic("EscapeToUtfProc: invalid sub table"); } subTablePtr->encodingPtr = encodingPtr; } |