summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-12-07 12:37:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-12-07 12:37:14 (GMT)
commit5dafe4ef8d8cdadb34bb45b7c3608c843bca623b (patch)
treeb34054e2d1c9a7f2e2ab2238d182984ec14ba933 /unix/tclUnixInit.c
parent252431a635b7659d22579fcd187264884472c72f (diff)
parent55328af8909d074b8715cb5c50453d0d6e0149e4 (diff)
downloadtcl-5dafe4ef8d8cdadb34bb45b7c3608c843bca623b.zip
tcl-5dafe4ef8d8cdadb34bb45b7c3608c843bca623b.tar.gz
tcl-5dafe4ef8d8cdadb34bb45b7c3608c843bca623b.tar.bz2
merge core-8-5-branch.better_deprecation_85
eliminate more deprecated calls
Diffstat (limited to 'unix/tclUnixInit.c')
-rw-r--r--unix/tclUnixInit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c
index e2037d7..b211d3a 100644
--- a/unix/tclUnixInit.c
+++ b/unix/tclUnixInit.c
@@ -912,7 +912,7 @@ TclpSetVariables(
} else
#endif /* HAVE_COREFOUNDATION */
{
- Tcl_SetVar(interp, "tcl_pkgPath", pkgPath, TCL_GLOBAL_ONLY);
+ Tcl_SetVar2Ex(interp, "tcl_pkgPath", NULL, Tcl_NewStringObj(pkgPath, -1), TCL_GLOBAL_ONLY);
}
#ifdef DJGPP