[BusyBox] ls doesn't compile without CONFIG_FEATURE_AUTOWIDTH

Erik Andersen andersen at codepoet.org
Tue Nov 4 23:17:04 UTC 2003


On Tue Nov 04, 2003 at 11:35:19PM +0100, Jean Wolter wrote:
> Hello,
> 
> I just tried to compile the current cvs version and gcc failed to
> compile coreutils/ls.c due to the following constructs:
> 
> #ifdef CONFIG_FEATURE_AUTOWIDTH
>  static int terminal_width = TERMINAL_WIDTH;
>  static unsigned short tabstops = COLUMN_GAP;
> #else
> #define tabstops COLUMN_GAP
> #define terminal_width TERMINAL_WIDTH
> #endif
> ...
>         get_terminal_width_height(0, &terminal_width, NULL);
> ...
>         terminal_width--;

Oops.  Thanks, fixed now,

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the busybox mailing list