bug-coreutils
[Top][All Lists]
Advanced

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

Re: Fwd: wrong color for broken symlinks


From: Eric Blake
Subject: Re: Fwd: wrong color for broken symlinks
Date: Tue, 19 Jun 2007 21:12:42 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.12) Gecko/20070509 Thunderbird/1.5.0.12 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Andreas Frische on 6/19/2007 7:35 PM:
> hi,
> 
> as of ls (GNU coreutils) 6.9 this bug is still not fixed.
> 
> ls --color | od -tx1z
> 0000000 1b 5b 30 30 6d 1b 5b 30 31 3b 33 36 6d 74 65 73  >.[00m.[01;36mtes<
> 0000020 74 1b 5b 30 30 6d 40 0a 1b 5b 6d                 >address@hidden<
> 0000033
> 
> ls --color test | od -tx1z
> 0000000 1b 5b 30 30 6d 1b 5b 34 30 3b 33 31 3b 30 31 6d  >.[00m.[40;31;01m<
> 0000020 74 65 73 74 1b 5b 30 30 6d 40 0a 1b 5b 6d        >address@hidden<
> 0000036

Thanks for the report, but it is too spotty to act on.  What is LS_COLORS
set to in these circumstances?  Are you competing with any aliases for ls?
 Also, which systems claim to support d_ino reliably?   And what are the
characteristics of 'test' (for example, is it executable)?  I suspect that
the difference here is whether or not ls had to do a stat, and whether or
not the d_ino was reliable when ls decided not to do a stat.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGeJsp84KuGfSFAYARAiUCAJ0fT/q4HJ/YYpy07/cTUylf2lvrggCfegI4
pzorUcdzvc+K+oJO0e7Awvs=
=0Zzo
-----END PGP SIGNATURE-----




reply via email to

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