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:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=15043>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to