GNU Core Utilities - Bugs: bug #15043, ls assigns colors inconsistently
You are not allowed to post comments on this tracker with your current authentication level.
bug #15043: ls assigns colors inconsistently
Submitter: | None | ||
Submitted: | Thu 24 Nov 2005 03:14:56 AM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | None | Status: | Fixed |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed |
Sat 26 Aug 2006 10:42:21 AM UTC, comment #4: |
Jim Meyering <meyering> |
Tue 25 Jul 2006 12:35:36 AM UTC, comment #3: 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).
|
Matthew Woehlke <woehlkmp> |
Fri 21 Jul 2006 01:03:33 AM UTC, comment #2: FWIW, I have now tested on HP-UX (both 9000/800 and Itanium), Solaris (SPARC and x86), Tru64, AIX, and of course Linux (x86). Of the above, it is ONLY broken on Linux. |
Matthew Woehlke <woehlkmp> |
Thu 06 Jul 2006 10:40:33 PM UTC, comment #1: I can reproduce this with 5.97 on x86 Linux, but it works on x86 Solaris. Nothing in the source code seems to indicate why this would be broken; any guesses? |
Matthew Woehlke <woehlkmp> |
Thu 24 Nov 2005 03:14:56 AM UTC, original submission:
Package:
|
Anonymous |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2006-08-26 | meyering | Open/Closed | Open | Closed | |
2006-08-26 | meyering | Status | None | Fixed | |
2006-07-21 | woehlkmp | Carbon-Copy | - | Added woehlkmp |
Powered by Savane 3.13-4b48.
Corresponding source code
Thanks again.
I've just checked in a fix for coreutils-6.2: http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/7917