diff options
author | dgp <dgp@users.sourceforge.net> | 2001-09-24 21:10:32 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2001-09-24 21:10:32 (GMT) |
commit | 85efd4f6340d3db40be6608dc383cf19efb4fecf (patch) | |
tree | 9fe3b099b7850769ca7b1bbf5be9ee6bcc10f7a4 /unix/tclLoadDl.c | |
parent | bb93c0bc5c4d8116d1c04051c5f999615b5f06ff (diff) | |
download | tcl-85efd4f6340d3db40be6608dc383cf19efb4fecf.zip tcl-85efd4f6340d3db40be6608dc383cf19efb4fecf.tar.gz tcl-85efd4f6340d3db40be6608dc383cf19efb4fecf.tar.bz2 |
* Updated APIs in
generic/tclUtil.c according to the guidelines of TIP 27.
[Patch 464553]
Diffstat (limited to 'unix/tclLoadDl.c')
-rw-r--r-- | unix/tclLoadDl.c | 4 |
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. */ |