summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2007-08-23 20:00:19 (GMT)
committerdgp <dgp@users.sourceforge.net>2007-08-23 20:00:19 (GMT)
commit46b11973d112f4cdf80dce0c5cbaac1e9ce0b780 (patch)
treee47b5971f9e784bed627f29dc28221076a900154
parentbb9f3f7aa9e2a821f747e9fadd74b12c47deb819 (diff)
downloadtcl-46b11973d112f4cdf80dce0c5cbaac1e9ce0b780.zip
tcl-46b11973d112f4cdf80dce0c5cbaac1e9ce0b780.tar.gz
tcl-46b11973d112f4cdf80dce0c5cbaac1e9ce0b780.tar.bz2
* library/init.tcl ([auto_load_index]): Delete stray "]" that created
an expr syntax error (masked by a [catch]).
-rw-r--r--ChangeLog3
-rw-r--r--library/init.tcl4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f4416ad..8f5bac4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2007-08-23 Don Porter <dgp@users.sourceforge.net>
+ * library/init.tcl ([auto_load_index]): Delete stray "]" that created
+ an expr syntax error (masked by a [catch]).
+
* generic/tclCompCmds.c (TclCompileReturnCmd): Added crash protection
to handle callers other than TclCompileScript() failing to meet the
initialization assumptions of the TIP 280 code in CompileWord().
diff --git a/library/init.tcl b/library/init.tcl
index b84a197..d29c512 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.92 2007/07/05 18:02:55 dgp Exp $
+# RCS: @(#) $Id: init.tcl,v 1.93 2007/08/23 20:00:20 dgp Exp $
#
# Copyright (c) 1991-1993 The Regents of the University of California.
# Copyright (c) 1994-1996 Sun Microsystems, Inc.
@@ -520,7 +520,7 @@ proc auto_load_index {} {
set id [gets $f]
if {$id eq "# Tcl autoload index file, version 2.0"} {
eval [read $f]
- } elseif {$id eq "# Tcl autoload index file: each line identifies a Tcl"]} {
+ } elseif {$id eq "# Tcl autoload index file: each line identifies a Tcl"} {
while {[gets $f line] >= 0} {
if {([string index $line 0] eq "#") \
|| ([llength $line] != 2)} {