mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
ced2dcadcc
As 257886 reports, if ls(1) is built with WITHOUT_LS_COLORS="YES", it issues a warning whenever COLORTERM is non-empty. The warning is not useful, so I thought to remove it, but as Ed pointed out, we may want to have a way to determine whether a particular copy of ls has been compiled with color support or not. Therefore move the warnx() call to the getopt loop in a WITHOUT_LS_COLORS build to fire when the user asks for colored output. PR: 257886 Reported by: Marko Turk Reviewed by: kevans |
||
---|---|---|
.. | ||
tests | ||
cmp.c | ||
extern.h | ||
ls.1 | ||
ls.c | ||
ls.h | ||
Makefile | ||
Makefile.depend | ||
Makefile.depend.options | ||
print.c | ||
util.c |