DirectoryIterator bug with invalid (empty path) File?


I expect DirectoryIterator::next() to return false with a non existing file, but it returns true on windows :

File f;
DirectoryIterator iter (f, true, "*", File::findFiles);
jassert (!; 

am I missing something simple, or is that a bug?


Thanks for the heads up. Fixed on develop now.


Thanks Fabian!
I don’t see it in git though. did you push it?


OK. Clearly need more coffee… It’s up now.