summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-07-17 08:04:15 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-07-17 08:04:15 (GMT)
commit214c9c44a4c822148d4815f89a7657b5354ab9d3 (patch)
tree5170f9506ae40674966410222013fdefc8346dd0 /library
parente04398953ff1c2dc018c8e9183d9af690eb7a3bc (diff)
parent94e285cad09f37ba982d10d920ead9ed582bab4f (diff)
downloadtcl-214c9c44a4c822148d4815f89a7657b5354ab9d3.zip
tcl-214c9c44a4c822148d4815f89a7657b5354ab9d3.tar.gz
tcl-214c9c44a4c822148d4815f89a7657b5354ab9d3.tar.bz2
Fix [fb2208172c671f29d60e9ac928d9ded45d01d8b8|fb2208172c]: tclIndex varies across builds from auto_mkindex
Diffstat (limited to 'library')
-rw-r--r--library/auto.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/auto.tcl b/library/auto.tcl
index 97ea8af..a7a8979 100644
--- a/library/auto.tcl
+++ b/library/auto.tcl
@@ -203,7 +203,7 @@ proc auto_mkindex {dir args} {
}
auto_mkindex_parser::init
- foreach file [glob -- {*}$args] {
+ foreach file [lsort [glob -- {*}$args]] {
try {
append index [auto_mkindex_parser::mkindex $file]
} on error {msg opts} {
@@ -236,7 +236,7 @@ proc auto_mkindex_old {dir args} {
if {![llength $args]} {
set args *.tcl
}
- foreach file [glob -- {*}$args] {
+ foreach file [lsort [glob -- {*}$args]] {
set f ""
set error [catch {
set f [open $file]