From eba41be3a29a62f77c58325c1407acf4d9f417a8 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Thu, 16 Oct 2025 16:54:25 +0900 Subject: [PATCH] hal-win-dir: rewrite comment to avoid comment nesting warning remove example containing /* sequence from comment. this triggers -Wcomment warning on mingw about nested comments. Co-authored-by: Claude --- mrbgems/hal-win-dir/src/dir_hal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrbgems/hal-win-dir/src/dir_hal.c b/mrbgems/hal-win-dir/src/dir_hal.c index 2da0fbb25..db2123951 100644 --- a/mrbgems/hal-win-dir/src/dir_hal.c +++ b/mrbgems/hal-win-dir/src/dir_hal.c @@ -27,7 +27,7 @@ struct mrb_dir_handle { intptr_t handle; /* _findfirst/_findnext handle */ struct _finddata_t info; /* Current entry info */ - char *pattern; /* Search pattern (e.g., "dir/*") */ + char *pattern; /* Search pattern with wildcard */ int first; /* Flag: haven't read first entry yet */ };