← Commit list

1117c5281

Manuel Novoa III
Manuel Novoa III
2004-03-08
FAILED Duration: 111s

Subject

Fix broken sort order flags.

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

coreutils/ls.c+2 -3
@@ -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);