[opensource-dev] Review Request: (STORM-550) LLDir::getNextFileInDir fails for some complex wildcard combinations
Seth ProductEngine
slitovchuk at productengine.com
Tue Jan 4 12:38:05 PST 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://codereview.secondlife.com/r/32/
-----------------------------------------------------------
(Updated Jan. 4, 2011, 12:38 p.m.)
Review request for Viewer.
Changes
-------
- Added a boost::regex member variable not to translate the mask to a regex on every call to next().
- Moved iterator initialization and exceptions handling to the constructor.
Summary
-------
Fixed LLDir unit test which failed for some complex wildcard combinations.
Added a class implementing directory entries iteration with pattern matching which is used in unit tests instead of LLDir::getNextFileInDir.
This code has been run on Linux only. It should be tested under other platforms and more test cases should be provided. For example changing directory contents while iterating through it.
This addresses bug STORM-550.
http://jira.secondlife.com/browse/STORM-550
Diffs (updated)
-----
indra/cmake/Boost.cmake 27dae7b01a81
indra/llvfs/CMakeLists.txt 27dae7b01a81
indra/llvfs/lldiriterator.h PRE-CREATION
indra/llvfs/lldiriterator.cpp PRE-CREATION
indra/llvfs/tests/lldir_test.cpp 27dae7b01a81
Diff: http://codereview.secondlife.com/r/32/diff
Testing
-------
Thanks,
Seth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20110104/60a7d3d1/attachment.htm
More information about the opensource-dev
mailing list