goduf-byinode_fallback.go
changeset 11 47e45453b705
parent 3 d08d45871171
child 17 7e73bb91665e
--- a/goduf-byinode_fallback.go	Sun Jun 29 14:52:21 2014 +0200
+++ b/goduf-byinode_fallback.go	Sun Jun 29 15:07:04 2014 +0200
@@ -11,7 +11,7 @@
 func (a ByInode) Len() int      { return len(a) }
 func (a ByInode) Swap(i, j int) { a[i], a[j] = a[j], a[i] }
 func (a ByInode) Less(i, j int) bool {
-	return true
+	return a[i].FilePath < a[j].FilePath
 }
 
 // OSHasInodes returns true iff the O.S. uses inodes for its filesystems.