From: Jim Meyering Date: Wed, 15 Jan 2003 11:58:26 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v4.5.5~200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1ebf2a3838cb7c673a641884fd4a64833d99258;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/ChangeLog b/ChangeLog index f30e7eb0cc..9c0efd8979 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,18 @@ * Version 4.5.5. + * src/ls.c (gobble_file): Fall back on using lstat when required: + when --dereference (-L) is not specified, and + - when operating on a dangling symlink + - when operating on command-line-symlink-to-directories + This fixes numerous problems. Here are examples: + - `ls dangling-symlink' would fail with `no such file...' + Now it prints `dangling-symlink'. + - `ls -i symlink' would mistakenly print the inode of the referent. + Now it prints the inode of the symlink. Likewise for --size (-s). + Based on a patch from Michael Stone. + Reported by Deepak Goel as Debian bug #173793. + Rename ls's --dereference-command-line (-H) option to --dereference-command-line-symlink-to-dir. * src/ls.c [enum Dereference_symlink]