summaryrefslogtreecommitdiffstats
path: root/generic/tclLink.c
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2002-01-25 20:40:54 (GMT)
committerdgp@users.sourceforge.net <dgp>2002-01-25 20:40:54 (GMT)
commit7e2d3b1fed61e928f0382b3b1c6d266d42c68b4b (patch)
tree90cd60706107518bc582921a1eb262224b8dac22 /generic/tclLink.c
parent4b4cd9d05f671364db6c1760d9b065b745ac7fab (diff)
downloadtcl-7e2d3b1fed61e928f0382b3b1c6d266d42c68b4b.zip
tcl-7e2d3b1fed61e928f0382b3b1c6d266d42c68b4b.tar.gz
tcl-7e2d3b1fed61e928f0382b3b1c6d266d42c68b4b.tar.bz2
* Updated interfaces of generic/tclEncoding, generic/tclFilename.c,
generic/tclIOUtil.c, generic/tclPipe.c, generic/tclResult.c, generic/tclUtil.c, generic/tclVar.c and mac/tclMacResource.c according to TIP 27. Tcl_TranslateFileName rewritten as wrapper around VFS-aware version. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes source incompatibilities: argv arguments of Tcl_Concat, Tcl_JoinPath, Tcl_OpenCommandChannel, Tcl_Merge; argvPtr arguments of Tcl_SplitList and Tcl_SplitPath.
Diffstat (limited to 'generic/tclLink.c')
-rw-r--r--generic/tclLink.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/generic/tclLink.c b/generic/tclLink.c
index 20f9191..3066557 100644
--- a/generic/tclLink.c
+++ b/generic/tclLink.c
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclLink.c,v 1.3 1999/04/16 00:46:49 stanton Exp $
+ * RCS: @(#) $Id: tclLink.c,v 1.4 2002/01/25 20:40:55 dgp Exp $
*/
#include "tclInt.h"
@@ -235,7 +235,8 @@ LinkTraceProc(clientData, interp, name1, name2, flags)
Link *linkPtr = (Link *) clientData;
int changed;
char buffer[TCL_DOUBLE_SPACE];
- char *value, **pp, *result;
+ CONST char *value;
+ char **pp, *result;
Tcl_Obj *objPtr;
/*
@@ -364,7 +365,7 @@ LinkTraceProc(clientData, interp, name1, name2, flags)
strcpy(*pp, value);
break;
default:
- return "internal error: bad linked variable type";
+ result = "internal error: bad linked variable type";
}
end:
Tcl_DecrRefCount(objPtr);