summaryrefslogtreecommitdiffstats
path: root/unix/tclLoadDl.c
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2001-09-24 21:10:31 (GMT)
committerdgp <dgp@noemail.net>2001-09-24 21:10:31 (GMT)
commit6bb97021d20a50517d05920a9f81c7b75c379419 (patch)
tree9fe3b099b7850769ca7b1bbf5be9ee6bcc10f7a4 /unix/tclLoadDl.c
parent7e905b929f0d0d6cb0a39d8b0a82c550f6954e04 (diff)
downloadtcl-6bb97021d20a50517d05920a9f81c7b75c379419.zip
tcl-6bb97021d20a50517d05920a9f81c7b75c379419.tar.gz
tcl-6bb97021d20a50517d05920a9f81c7b75c379419.tar.bz2
* Updated APIs in
generic/tclUtil.c according to the guidelines of TIP 27. [Patch 464553] FossilOrigin-Name: e70344d22638ef75624f156dccf11fa7a66bd900
Diffstat (limited to 'unix/tclLoadDl.c')
-rw-r--r--unix/tclLoadDl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclLoadDl.c b/unix/tclLoadDl.c
index 1d20521..7eeaefa 100644
--- a/unix/tclLoadDl.c
+++ b/unix/tclLoadDl.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclLoadDl.c,v 1.5 2001/09/04 18:06:34 vincentdarley Exp $
+ * RCS: @(#) $Id: tclLoadDl.c,v 1.6 2001/09/24 21:10:32 dgp Exp $
*/
#include "tclInt.h"
@@ -77,7 +77,7 @@ TclpLoadFile(interp, pathPtr, sym1, sym2, proc1Ptr, proc2Ptr,
{
VOID *handle;
Tcl_DString newName, ds;
- char *native;
+ CONST char *native;
native = Tcl_FSGetNativePath(pathPtr);
handle = dlopen(native, RTLD_NOW | RTLD_GLOBAL); /* INTL: Native. */