bug-coreutils
[Top][All Lists]
Advanced

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

Re: [ANNOUNCEMENT] Updated: coreutils-6.10-1


From: Eric Blake
Subject: Re: [ANNOUNCEMENT] Updated: coreutils-6.10-1
Date: Mon, 14 Apr 2008 14:07:56 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Eric Blake <ebb9 <at> byu.net> writes:

> | None of my symlink targets have a color anymore:
> |
> | Reverting to coreutils 6.9-5 shows the link targets in color again,
> | and an strace on `ls -l y' shows the stat call for x.exe.
> 
> Thanks for the report; this is probably an upstream bug.  But I will try
> to investigate further.
> 

It looks like this commit is the culprit:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=0a74437

It looks like a true regression.  The change was introduced because of this 
thread:
http://lists.gnu.org/archive/html/bug-coreutils/2007-06/msg00004.html
http://lists.gnu.org/archive/html/bug-coreutils/2007-07/msg00079.html

It looks like when -l is NOT in effect, you should not stat the result of a 
symlink.  But when -l IS in effect, and C_EXEC is enabled, then the result of 
stat'ing the symling IS used, in order to color the symlink target differently 
than the color of the symlink.

-- 
Eric Blake







reply via email to

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