summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-11-26 15:33:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-11-26 15:33:47 (GMT)
commite245e3dcc02528ba4bf89da8e4d314379662c580 (patch)
tree713d25aed954cbb3baf9541df58629a77507c06e /unix
parent3604d53d3f64cca36cb6884d708d4e6895ffdb2b (diff)
downloadtcl-e245e3dcc02528ba4bf89da8e4d314379662c580.zip
tcl-e245e3dcc02528ba4bf89da8e4d314379662c580.tar.gz
tcl-e245e3dcc02528ba4bf89da8e4d314379662c580.tar.bz2
unbreak UNIX build
Diffstat (limited to 'unix')
-rw-r--r--unix/tclAppInit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclAppInit.c b/unix/tclAppInit.c
index 159bbd8..21dce71 100644
--- a/unix/tclAppInit.c
+++ b/unix/tclAppInit.c
@@ -150,9 +150,9 @@ Tcl_AppInit(
*/
#ifdef DJGPP
- (Tcl_SetVar)(interp, "tcl_rcFileName", "~/tclsh.rc", TCL_GLOBAL_ONLY);
+ (Tcl_SetVar2)(interp, "tcl_rcFileName", NULL, "~/tclsh.rc", TCL_GLOBAL_ONLY);
#else
- (Tcl_SetVar)(interp, "tcl_rcFileName", "~/.tclshrc", TCL_GLOBAL_ONLY);
+ (Tcl_SetVar2)(interp, "tcl_rcFileName", NULL, "~/.tclshrc", TCL_GLOBAL_ONLY);
#endif
return TCL_OK;