From b1381a11251a6230575996b0f06e62ce0cdc5eab Mon Sep 17 00:00:00 2001 From: zshuang0316 <163435379+zshuang0316@users.noreply.github.com> Date: Sat, 15 Nov 2025 18:03:07 +0800 Subject: [PATCH] in_blob: fix glob function for win32 Set context glob path size correctly. Signed-off-by: zshuang0316 <163435379+zshuang0316@users.noreply.github.com> --- plugins/in_blob/win32_glob.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/in_blob/win32_glob.c b/plugins/in_blob/win32_glob.c index 9bba4ca1e1c..e30f627acb5 100644 --- a/plugins/in_blob/win32_glob.c +++ b/plugins/in_blob/win32_glob.c @@ -150,6 +150,7 @@ static int glob(const char *path, return result; } } + context->gl_pathc = entries; } return result; @@ -604,4 +605,4 @@ int flb_file_glob_fetch(struct flb_file_glob_context *context, return FLB_FILE_GLOB_ERROR_SUCCESS; } -#endif \ No newline at end of file +#endif