projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
948d490
)
Fix broken sort order flags.
author
Manuel Novoa III
<mjn3@codepoet.org>
Mon, 8 Mar 2004 10:54:29 +0000
(10:54 -0000)
committer
Manuel Novoa III
<mjn3@codepoet.org>
Mon, 8 Mar 2004 10:54:29 +0000
(10:54 -0000)
coreutils/ls.c
patch
|
blob
|
history
diff --git
a/coreutils/ls.c
b/coreutils/ls.c
index 46fe39d6cf3f7f079b249353f1c05374311cc498..2605ab12d838739d75a96772fa510ff6535ae8ad 100644
(file)
--- a/
coreutils/ls.c
+++ b/
coreutils/ls.c
@@
-920,10
+920,10
@@
static const unsigned opt_flags[] = {
# endif
#endif
#ifdef CONFIG_FEATURE_LS_SORTFILES
- SORT_ORDER_REVERSE, /* r */
SORT_SIZE, /* S */
+ SORT_EXT, /* X */
+ SORT_ORDER_REVERSE, /* r */
SORT_VERSION, /* v */
- SORT_EXT, /* v */
#endif
#ifdef CONFIG_FEATURE_LS_FILETYPES
LIST_FILETYPE | LIST_EXEC, /* F */
@@
-1110,7
+1110,6
@@
extern int ls_main(int argc, char **argv)
cur = cur->next;
}
-
if (all_fmt & DISP_NOLIST) {
#ifdef CONFIG_FEATURE_LS_SORTFILES
shellsort(dnp, nfiles);