From: Pádraig Brady Date: Wed, 7 Jun 2023 20:51:47 +0000 (+0100) Subject: maint: ls.c: update stale comment for previous commit X-Git-Tag: v9.4~113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2173c0a52925245d4fe27890f9ced1b5d860372;p=thirdparty%2Fcoreutils.git maint: ls.c: update stale comment for previous commit * src/ls.c (gobble_file): Update comment to correspond with the changes in the previous commit. --- diff --git a/src/ls.c b/src/ls.c index 33f692bb41..64da077e18 100644 --- a/src/ls.c +++ b/src/ls.c @@ -3485,10 +3485,11 @@ gobble_file (char const *name, enum filetype type, ino_t inode, if (!need_lstat) break; - /* stat failed because of ENOENT, maybe indicating a dangling - symlink. Or stat succeeded, FULL_NAME does not refer to a - directory, and --dereference-command-line-symlink-to-dir is - in effect. Fall through so that we call lstat instead. */ + /* stat failed because of ENOENT || ELOOP, maybe indicating a + non-traversable symlink. Or stat succeeded, + FULL_NAME does not refer to a directory, + and --dereference-command-line-symlink-to-dir is in effect. + Fall through so that we call lstat instead. */ } FALLTHROUGH;