summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2007-10-18 19:07:28 (GMT)
committerdavygrvy <davygrvy@pobox.com>2007-10-18 19:07:28 (GMT)
commit1cbe0eb63e9981f368dec9d6f1c783d4e6f75904 (patch)
tree91b37b23aebc203294369e6ffe694ebeed43df9a /tools
parent7c3b7390cf4e423512fe39f238d3891bec7325fb (diff)
downloadtcl-1cbe0eb63e9981f368dec9d6f1c783d4e6f75904.zip
tcl-1cbe0eb63e9981f368dec9d6f1c783d4e6f75904.tar.gz
tcl-1cbe0eb63e9981f368dec9d6f1c783d4e6f75904.tar.bz2
* tools/mkdepend.tcl: sort the dep list for a more humanly readable output.
Diffstat (limited to 'tools')
-rw-r--r--tools/mkdepend.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mkdepend.tcl b/tools/mkdepend.tcl
index c2bdadb..a216be4 100644
--- a/tools/mkdepend.tcl
+++ b/tools/mkdepend.tcl
@@ -27,7 +27,7 @@
# http://web.archive.org/web/20070616205924/http://www.doc.ic.ac.uk/~np2/software/mkdepend.html
#
#==============================================================================
-# RCS: @(#) $Id: mkdepend.tcl,v 1.4 2007/10/17 20:56:28 davygrvy Exp $
+# RCS: @(#) $Id: mkdepend.tcl,v 1.5 2007/10/18 19:07:28 davygrvy Exp $
#==============================================================================
array set mode_data {}
@@ -244,7 +244,7 @@ proc compressDeps {depends} {
set result [list]
foreach n [array names compressed] {
- lappend result [list $n $compressed($n)]
+ lappend result [list $n [lsort $compressed($n)]]
}
return $result