summaryrefslogtreecommitdiffstats
path: root/library/init.tcl
diff options
context:
space:
mode:
authorstanton <stanton>1999-02-02 18:36:36 (GMT)
committerstanton <stanton>1999-02-02 18:36:36 (GMT)
commit287e43ac1008d0ab3b89450792c2902232084d26 (patch)
tree5f948ea7424b6a5503f6a4a5ec3ae88b3aaea229 /library/init.tcl
parent82742d54bcff7585126ef6294282f920f2c6595e (diff)
downloadtcl-287e43ac1008d0ab3b89450792c2902232084d26.zip
tcl-287e43ac1008d0ab3b89450792c2902232084d26.tar.gz
tcl-287e43ac1008d0ab3b89450792c2902232084d26.tar.bz2
* library/init.tcl: Added catch around unset. [Bug: 978]
Diffstat (limited to 'library/init.tcl')
-rw-r--r--library/init.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/init.tcl b/library/init.tcl
index f7b35c2..ce420e4 100644
--- a/library/init.tcl
+++ b/library/init.tcl
@@ -3,7 +3,7 @@
# Default system startup file for Tcl-based applications. Defines
# "unknown" procedure and auto-load facilities.
#
-# RCS: @(#) $Id: init.tcl,v 1.23 1999/01/04 19:25:02 rjohnson Exp $
+# RCS: @(#) $Id: init.tcl,v 1.24 1999/02/02 18:36:36 stanton Exp $
#
# Copyright (c) 1991-1993 The Regents of the University of California.
# Copyright (c) 1994-1996 Sun Microsystems, Inc.
@@ -54,7 +54,7 @@ if {[info exist tcl_pkgPath]} {
}
}
}
-unset __dir
+catch {unset __dir}
# Windows specific initialization to handle case isses with envars