summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2001-09-28 01:21:51 (GMT)
committerdgp <dgp@noemail.net>2001-09-28 01:21:51 (GMT)
commit5cf885af4701cd916baf0feb32bdb2f139ee900b (patch)
treeefc77c730c35b6fb82ceecf051d26b598c191f2e /library
parentc68a91fc80c46305eed8c731d1bd00ece584b1a6 (diff)
downloadtcl-5cf885af4701cd916baf0feb32bdb2f139ee900b.zip
tcl-5cf885af4701cd916baf0feb32bdb2f139ee900b.tar.gz
tcl-5cf885af4701cd916baf0feb32bdb2f139ee900b.tar.bz2
* More CONST poisoning
fixes from the 2001-09-24 TIP 27 changes. CONST-ified Tcl_FSLoadFile and TclpLoadFile. Report and patch from Kevin Kenny. [Bug 465833] FossilOrigin-Name: 82ca28932032a7a64d20820b116a6412748af736
Diffstat (limited to 'library')
-rw-r--r--library/ldAout.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/ldAout.tcl b/library/ldAout.tcl
index e602e3a..243c6d4 100644
--- a/library/ldAout.tcl
+++ b/library/ldAout.tcl
@@ -18,7 +18,7 @@
# its .o file placed before all others in the command; then
# "ld" is executed to bind the objects together.
#
-# RCS: @(#) $Id: ldAout.tcl,v 1.4 1999/08/19 02:59:40 hobbs Exp $
+# RCS: @(#) $Id: ldAout.tcl,v 1.5 2001/09/28 01:21:53 dgp Exp $
#
# Copyright (c) 1995, by General Electric Company. All rights reserved.
#
@@ -182,7 +182,7 @@ proc tclLdAout {{cc {}} {shlib_suffix {}} {shlib_cflags none}} {
append C {typedef int Tcl_PackageInitProc (Tcl_Interp *);} \n
append C {Tcl_PackageInitProc *} \n
append C TclLoadDictionary_ $modName { (symbol)} \n
- append C { char * symbol;} \n
+ append C { CONST char * symbol;} \n
append C {
{
int i;