-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Windows 11 x64, Visual Studio 2022, Poco Foundation (debug_static_mt) 1.14.2 and test code compiled with either C++17 or C++20, x64
The directory E:/Dok/Arduino has 90 .h files and 78 subdirectories. When I search with E:/Dok/Arduino/**/*.h nothing is returned.
E:/Dok/Arduino/**.h returns the one .h file in E:/Dok/Arduino
E:/Dok/Arduino/** returns the subdirectory in E:/Dok/Arduino but does not recurse further.
(When using another glob program, files are properly returned).
Test code:
// constexpr const char *path = R"(E:/Dok/Arduino/**)"; // ... or
constexpr const char *path = R"(E:\Dok\Arduino\**)";
int main()
{
set<string> files;
Glob::glob(path, files, 0x04);
set::iterator it = files.begin();
for (; it != files.end(); ++it)
{
std::cout << *it << std::endl;
}
}