Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102788273
D30319.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
383 B
Referenced Files
None
Subscribers
None
D30319.diff
View Options
diff --git a/usr.bin/sort/file.h b/usr.bin/sort/file.h
--- a/usr.bin/sort/file.h
+++ b/usr.bin/sort/file.h
@@ -41,8 +41,8 @@
#define SORT_HEAPSORT 3
#define SORT_RADIXSORT 4
-#define DEFAULT_SORT_ALGORITHM SORT_HEAPSORT
-#define DEFAULT_SORT_FUNC heapsort
+#define DEFAULT_SORT_ALGORITHM SORT_MERGESORT
+#define DEFAULT_SORT_FUNC mergesort
/*
* List of data to be sorted.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 5:16 AM (20 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14690226
Default Alt Text
D30319.diff (383 B)
Attached To
Mode
D30319: sort: Change default algorithm to mergesort
Attached
Detach File
Event Timeline
Log In to Comment