diff options
author | davygrvy <davygrvy@noemail.net> | 2003-12-24 04:18:17 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@noemail.net> | 2003-12-24 04:18:17 (GMT) |
commit | ab17eb9562a2b91718470716510884e1c0edfbbc (patch) | |
tree | eff546c6e792fecd4310f81379419c1d68d63c28 /unix/tclUnixThrd.c | |
parent | c1f7aa10c0c63abe68c8a682c909b106fb843615 (diff) | |
download | tcl-ab17eb9562a2b91718470716510884e1c0edfbbc.zip tcl-ab17eb9562a2b91718470716510884e1c0edfbbc.tar.gz tcl-ab17eb9562a2b91718470716510884e1c0edfbbc.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]
FossilOrigin-Name: 524a53e3b36111f085cdb216a27da061773239ae
Diffstat (limited to 'unix/tclUnixThrd.c')
-rw-r--r-- | unix/tclUnixThrd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c index 515ef4f..98d1edc 100644 --- a/unix/tclUnixThrd.c +++ b/unix/tclUnixThrd.c @@ -916,7 +916,7 @@ TclpNewAllocMutex(void) lockPtr = malloc(sizeof(struct lock)); if (lockPtr == NULL) { - panic("could not allocate lock"); + Tcl_Panic("could not allocate lock"); } lockPtr->tlock = (Tcl_Mutex) &lockPtr->plock; pthread_mutex_init(&lockPtr->plock, NULL); |