[BusyBox-cvs] busybox/coreutils ls.c,1.100,1.101
Erik Andersen
andersen at busybox.net
Tue Nov 4 23:16:53 UTC 2003
Update of /var/cvs/busybox/coreutils
In directory winder:/tmp/cvs-serv20215/coreutils
Modified Files:
ls.c
Log Message:
Fix oversight with CONFIG_FEATURE_AUTOWIDTH handling
Index: ls.c
===================================================================
RCS file: /var/cvs/busybox/coreutils/ls.c,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -d -r1.100 -r1.101
--- ls.c 15 Sep 2003 08:33:34 -0000 1.100
+++ ls.c 4 Nov 2003 23:16:48 -0000 1.101
@@ -923,10 +923,12 @@
| 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
More information about the busybox-cvs
mailing list