projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7077a7
)
Fix oversight with CONFIG_FEATURE_AUTOWIDTH handling
author
Eric Andersen
<andersen@codepoet.org>
Tue, 4 Nov 2003 23:16:48 +0000
(23:16 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Tue, 4 Nov 2003 23:16:48 +0000
(23:16 -0000)
coreutils/ls.c
patch
|
blob
|
history
diff --git
a/coreutils/ls.c
b/coreutils/ls.c
index
7275292
..
2929b96
100644
(file)
--- a/
coreutils/ls.c
+++ b/
coreutils/ls.c
@@
-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