[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #15043] ls assigns colors inconsistently

From: Matthew Woehlke
Subject: [bug #15043] ls assigns colors inconsistently
Date: Tue, 25 Jul 2006 00:35:38 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20060508 Firefox/

Follow-up Comment #3, bug #15043 (project coreutils):

Ok, I have tested a patch. In gobble_file, in the conditional starting 'if
(command_line_arg' (the second 'if'), adding the condition '|| (type ==
directory && print_with_color)' fixes the problem, at least with the build I
just did. Because this is only a problem on Linux, I think I would wrap it in
a 'Linux-only' preprocessor directive (I'm not sure what to use, which is the
only reason why I did not make an actual .patch).

...And I see I missed the OP's "Diagnosis" and "Possible solutions" the first
time I read this; sorry about that.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]