|
From: | mwoehlke |
Subject: | Re: coreutils-6.1: needs 'ls' patch (bug #15043) |
Date: | Mon, 28 Aug 2006 10:58:08 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060719 Thunderbird/1.5.0.5 Mnenhy/0.7.4.0 |
Paul Eggert wrote:
mwoehlke <address@hidden> writes:If #ifdef is OK, this should do it (works for me with 5.97 and 6.1):As I said, I don't really understand dircolors (but I'll go ahead and remark anyway :-). I don't see why the behavior of 'ls' should depend on whether the Linux kernel is used. Shouldn't coreutils 'ls' behave the same way on FreeBSD or Solaris?
The *old* behavior depends on the kernel. Although I can't vouch for FreeBSD, I tested on Solaris (both SPARC 2.6 and x86 10) and several other platforms, and in 5.97 / 6.1, Linux was the *only* platform I tested on which it did not work. All of which is in the Savannah comments.
I #ifdef'd the change to avoid doing unnecessary work on platforms that work correctly without the extra call.
-- Matthew We are Microsoft. You will be assimilated. Resistance is futile. --Badtech
[Prev in Thread] | Current Thread | [Next in Thread] |