From 860f4c6aa64020d9705b017a90d75eb4cac5f800 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 12 Apr 2022 15:43:39 +0200 Subject: [PATCH] chase-symlinks: add comment for opaque argument --- src/basic/chase-symlinks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/basic/chase-symlinks.c b/src/basic/chase-symlinks.c index eff5785a29c..1fca871495a 100644 --- a/src/basic/chase-symlinks.c +++ b/src/basic/chase-symlinks.c @@ -212,7 +212,7 @@ int chase_symlinks( struct stat st; const char *e; - r = path_find_first_component(&todo, true, &e); + r = path_find_first_component(&todo, /* accept_dot_dot= */ true, &e); if (r < 0) return r; if (r == 0) { /* We reached the end. */ @@ -387,7 +387,7 @@ chased_one: const char *e; /* todo may contain slashes at the beginning. */ - r = path_find_first_component(&todo, true, &e); + r = path_find_first_component(&todo, /* accept_dot_dot= */ true, &e); if (r < 0) return r; if (r == 0) -- 2.47.3