summaryrefslogtreecommitdiffstats
path: root/library/package.tcl
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-02-01 15:46:18 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-02-01 15:46:18 (GMT)
commit2669f7aa359f52c6ef4c3b7653581d63af47d62c (patch)
tree8432c1bb048503fb7981777d704535b67cf367d1 /library/package.tcl
parent73ae354d31d0f8f9e87e0d0c52d58b258afedd5d (diff)
parent15e829bc91966b284e40edc9d89e54f78a805503 (diff)
downloadtcl-fix_win_native_access.zip
tcl-fix_win_native_access.tar.gz
tcl-fix_win_native_access.tar.bz2
merge to bugfix branchfix_win_native_access
Diffstat (limited to 'library/package.tcl')
-rw-r--r--library/package.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/package.tcl b/library/package.tcl
index dc06641..3831822 100644
--- a/library/package.tcl
+++ b/library/package.tcl
@@ -393,7 +393,7 @@ proc pkg_mkIndex {args} {
break
}
lappend cmd ::tcl::Pkg::Create -name $name -version $version
- foreach spec $files($pkg) {
+ foreach spec [lsort -index 0 $files($pkg)] {
foreach {file type procs} $spec {
if { $direct } {
set procs {}