diff options
author | Laurent Bercot <ska-dietlibc@skarnet.org> | 2017-05-26 16:50:53 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-05-26 16:50:53 +0200 |
commit | 2599937c4e5012d8e410d58574d22dec92e6eaa5 (patch) | |
tree | 045f52dfe01397291a8e21de49c0fca08e7beb99 /networking/libiproute/ll_proto.c | |
parent | 13d72c3fd979a047179b1342dcae026379af0617 (diff) | |
download | busybox-2599937c4e5012d8e410d58574d22dec92e6eaa5.tar.gz |
ls: fix support for long options when FEATURE_LS_COLOR is deselected
Declaration of ls_longopts and initialization of applet_long_options
were incorrectly guarded with ENABLE_FEATURE_LS_COLOR; that yielded a
"ls: NO_OPT: \xff" error message when long options were selected and
color support was not. This patch ensures long options are
initialized separately from color support.
Signed-off-by: Laurent Bercot <ska-dietlibc@skarnet.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/libiproute/ll_proto.c')
0 files changed, 0 insertions, 0 deletions