← Commit list

6d687817a

Eric Andersen
Eric Andersen
2003-11-04
FAILED Duration: 70s

Subject

Fix oversight with CONFIG_FEATURE_AUTOWIDTH handling

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 -0
@@ -923,10 +923,12 @@ extern int ls_main(int argc, char **argv)
| SORT_NAME | SORT_ORDER_FORWARD
#endif
;
+#ifdef CONFIG_FEATURE_AUTOWIDTH
/* Obtain the terminal width. */
get_terminal_width_height(0, &terminal_width, NULL);
/* Go one less... */
terminal_width--;
+#endif
nfiles = 0;
#ifdef CONFIG_FEATURE_LS_COLOR