From c2173c0a52925245d4fe27890f9ced1b5d860372 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Wed, 7 Jun 2023 21:51:47 +0100 Subject: [PATCH] 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. --- src/ls.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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; -- 2.47.2