diff options
author | davygrvy <davygrvy@pobox.com> | 2003-12-24 04:18:18 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@pobox.com> | 2003-12-24 04:18:18 (GMT) |
commit | 5d224fb11538aa654ba2028f75e5ffa06df2c579 (patch) | |
tree | eff546c6e792fecd4310f81379419c1d68d63c28 /mac/tclMacSock.c | |
parent | bdb55bff6176c625c664d4ea5a4ec5187839d7a8 (diff) | |
download | tcl-5d224fb11538aa654ba2028f75e5ffa06df2c579.zip tcl-5d224fb11538aa654ba2028f75e5ffa06df2c579.tar.gz tcl-5d224fb11538aa654ba2028f75e5ffa06df2c579.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 'mac/tclMacSock.c')
-rw-r--r-- | mac/tclMacSock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mac/tclMacSock.c b/mac/tclMacSock.c index 32df000..4321ea3 100644 --- a/mac/tclMacSock.c +++ b/mac/tclMacSock.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: tclMacSock.c,v 1.15 2003/04/22 23:20:43 andreas_kupries Exp $ + * RCS: @(#) $Id: tclMacSock.c,v 1.16 2003/12/24 04:18:21 davygrvy Exp $ */ #include "tclInt.h" @@ -737,7 +737,7 @@ TcpClose( if (err != noErr) { Debugger(); goto afterRelease; - /* panic("error closing server socket"); */ + /* Tcl_Panic("error closing server socket"); */ } statePtr->flags |= TCP_RELEASE; @@ -750,7 +750,7 @@ TcpClose( statePtr->pb.tcpStream = statePtr->tcpStream; err = PBControlSync((ParmBlkPtr) &statePtr->pb); if (err != noErr) { - panic("error releasing server socket"); + Tcl_Panic("error releasing server socket"); } /* @@ -2839,7 +2839,7 @@ TclpCutSockChannel(chan) */ if (!removed) - panic("file info ptr not on thread channel list"); + Tcl_Panic("file info ptr not on thread channel list"); return; } |