[BusyBox] ls doesn't compile without CONFIG_FEATURE_AUTOWIDTH

Jean Wolter jw5 at os.inf.tu-dresden.de
Tue Nov 4 22:35:19 UTC 2003


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--;

regards,
Jean



More information about the busybox mailing list