mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-02 00:45:58 +00:00
Fix DirectoryIterator when multiple wildcards are used.
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
Vinnie Falco's Change Log
|
||||
|
||||
2013/08/07
|
||||
|
||||
- Add 'print' test that shows all the tests
|
||||
- Improved "package.test" match string format when choosing tests to run
|
||||
|
||||
2013/08/04
|
||||
|
||||
- Begin reworking of socket code
|
||||
|
||||
2013/08/01
|
||||
|
||||
- Add beast::SemanticVersion
|
||||
- Change rippled to use SemanticVersion
|
||||
- Add runStartup to UnitTest, allowing forced tests on startup
|
||||
- Force rippled BuildInfo unit test to run on every startup
|
||||
|
||||
2013/07/31
|
||||
|
||||
- Add "hostname" to server_info output
|
||||
- Replace "build_version" in server_info with the actual build version
|
||||
- Remove "client_version" from server_info
|
||||
|
||||
2013/07/30
|
||||
|
||||
- Add FatalErrorReporter to main
|
||||
- Rewrote the build and protocol version numbering code
|
||||
@@ -8,10 +8,7 @@ Vinnie's List: Changes day to day, descending priority
|
||||
(Items marked '*' can be handled by others.)
|
||||
|
||||
- beast::Socket integration in Ripple
|
||||
- Socket implementation for PROXY protocol
|
||||
- Socket that supports multiple protcols
|
||||
- Unit tests for boost::asio wrappers
|
||||
- Review boost::asio wrappers and consolidation of network code in ripple_net
|
||||
- Configuration list for Jenkins
|
||||
- Deeply create directories specified in config settings
|
||||
- Finish unit tests and code for Validators
|
||||
* Document the command line options for the beast unit test framework
|
||||
|
||||
@@ -104,8 +104,8 @@ bool DirectoryIterator::next (bool* const isDirResult, bool* const isHiddenResul
|
||||
matches = (whatToLookFor & File::findFiles) != 0;
|
||||
}
|
||||
|
||||
// if recursive, we're not relying on the OS iterator to do the wildcard match, so do it now..
|
||||
if (matches && isRecursive)
|
||||
// if we're not relying on the OS iterator to do the wildcard match, do it now..
|
||||
if (matches && (isRecursive || wildCards.size() > 1))
|
||||
matches = fileMatches (wildCards, filename);
|
||||
|
||||
if (matches && (whatToLookFor & File::ignoreHiddenFiles) != 0)
|
||||
|
||||
Reference in New Issue
Block a user