id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3551,filesystem::directory_iterator fails on empty directories in Windows Mobile 5,max@…,Beman Dawes,"In Windows Mobile 5 (and possibly other versions), FindFirstFile() returns ERROR_NO_MORE_FILES (==18) rather than ERROR_FILE_NOT_FOUND (==2) when called on an empty directory. This behavior is also known to occur on Win32 in certain circumstances (http://support.microsoft.com/kb/841524). Current trunk code throws an exception from the directory_iterator constructor. I suggest checking for both codes; proposed patch is attached.",Patches,closed,,filesystem,Boost Development Trunk,Problem,fixed,,