We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
poco/Foundation/src/SortedDirectoryIterator.cpp
Line 76 in 31dfdb5
The function above suffers of the same problem mentioned in #236. I fixed the problem by wrapping the isDirectory call in a try/catch block like this:
bool isDir = false; try { isDir = (*this)->isDirectory(); } catch (...) { } if (isDir) _directories.push_back(_path.toString()); else _files.push_back(_path.toString()); DirectoryIterator::operator++();
The text was updated successfully, but these errors were encountered:
Exception when using SortedDirectoryIterator #1926
888e193
9b3cb9f
aleks-f
No branches or pull requests
poco/Foundation/src/SortedDirectoryIterator.cpp
Line 76 in 31dfdb5
The function above suffers of the same problem mentioned in #236. I fixed the problem by wrapping the isDirectory call in a try/catch block like this:
The text was updated successfully, but these errors were encountered: