From d27d310433caec343531ce7efc076bc482ae5c81 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 26 Apr 2025 16:29:11 -0500 Subject: [PATCH] Bugfix: Incorrect flags passed to fl_directory_do(). The `recurse->flag` should not be passed to the action and other callbacks. --- level_1/fl_directory/c/directory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/level_1/fl_directory/c/directory.c b/level_1/fl_directory/c/directory.c index f487171..d82ec37 100644 --- a/level_1/fl_directory/c/directory.c +++ b/level_1/fl_directory/c/directory.c @@ -158,10 +158,10 @@ extern "C" { recurse->state.status = F_okay; - recurse->action(recurse, path, flag_actions[action] | recurse->flag | f_directory_recurse_do_flag_directory_d); + recurse->action(recurse, path, flag_actions[action] | f_directory_recurse_do_flag_directory_d); if (F_status_is_error(recurse->state.status)) { - private_inline_fl_directory_do_handle(recurse, path, flag_actions[action] | recurse->flag | f_directory_recurse_do_flag_directory_d); + private_inline_fl_directory_do_handle(recurse, path, flag_actions[action] | f_directory_recurse_do_flag_directory_d); if (F_status_is_error(recurse->state.status)) break; } -- 1.8.3.1