[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ls --dereference
From: |
Jim Meyering |
Subject: |
Re: ls --dereference |
Date: |
Tue, 02 Jan 2007 07:29:46 +0100 |
Paul Eggert <address@hidden> wrote:
> Nobuyuki Tsuchimura <address@hidden> writes:
>
>> I'm not sure the new behaver is a bug or not,
>> but it seems to be easy to reverse by an attached patch
>> (if there is no side effect).
>> In my opinion it is a bug, so I'll be glad if it is fixed.
>
> I agree with you that it is a bug. I think there is a better fix,
> though, i.e., one that calls 'stat' less often. Here is a patch.
> This includes a test case to detect further instances of this bug,
> should it recur. Thanks again for reporting it.
>
> 2007-01-01 Paul Eggert <address@hidden>
>
> * src/ls.c (gobble_file): Fix bug reported by
> Nobuyuki Tsuchimura in
> http://lists.gnu.org/archive/html/bug-coreutils/2006-12/msg00152.html
> where "ls -FRL" didn't follow a symbolic link in some cases on Linux.
> * tests/ls/follow-slink: Add a test for this case.
Thank you both.
I've applied that patch -- along with a new entry in NEWS:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=summary