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 /mac/tclMacSock.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 '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; } |
