summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
diff options
context:
space:
mode:
authordavygrvy@pobox.com <davygrvy>2003-12-24 04:18:18 (GMT)
committerdavygrvy@pobox.com <davygrvy>2003-12-24 04:18:18 (GMT)
commit09f3f1e13de3f29f152261bc48e1175f8897dedf (patch)
treeeff546c6e792fecd4310f81379419c1d68d63c28 /generic/tclIOUtil.c
parent2bb7451feb141f047c02c5a2a184101da43c3e3a (diff)
downloadtcl-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/tclIOUtil.c')
-rw-r--r--generic/tclIOUtil.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c
index fb5448e..8d2b3ba 100644
--- a/generic/tclIOUtil.c
+++ b/generic/tclIOUtil.c
@@ -17,7 +17,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclIOUtil.c,v 1.90 2003/12/17 09:24:43 vasiljevic Exp $
+ * RCS: @(#) $Id: tclIOUtil.c,v 1.91 2003/12/24 04:18:20 davygrvy Exp $
*/
#include "tclInt.h"
@@ -3294,7 +3294,7 @@ TclGetPathType(pathObjPtr, filesystemPtrPtr, driveNameLengthPtr, driveNameRef)
* return with the current value of 'type'.
*
* It would be better if we could signal an error
- * here (but panic seems a bit excessive).
+ * here (but Tcl_Panic seems a bit excessive).
*/
numVolumes = -1;
}
@@ -3697,7 +3697,7 @@ Tcl_FSGetFileSystemForPath(pathObjPtr)
Tcl_Filesystem* retVal = NULL;
if (pathObjPtr == NULL) {
- panic("Tcl_FSGetFileSystemForPath called with NULL object");
+ Tcl_Panic("Tcl_FSGetFileSystemForPath called with NULL object");
return NULL;
}
@@ -3709,7 +3709,7 @@ Tcl_FSGetFileSystemForPath(pathObjPtr)
*/
if (pathObjPtr->refCount == 0) {
- panic("Tcl_FSGetFileSystemForPath called with object with refCount == 0");
+ Tcl_Panic("Tcl_FSGetFileSystemForPath called with object with refCount == 0");
return NULL;
}