|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r75847 - branches/quickbook-dev/tools/quickbook/src
From: dnljms_at_[hidden]
Date: 2011-12-07 04:43:44
Author: danieljames
Date: 2011-12-07 04:43:43 EST (Wed, 07 Dec 2011)
New Revision: 75847
URL: http://svn.boost.org/trac/boost/changeset/75847
Log:
Quickbook: Fix glob when parent path is empty.
Text files modified:
branches/quickbook-dev/tools/quickbook/src/actions.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: branches/quickbook-dev/tools/quickbook/src/actions.cpp
==============================================================================
--- branches/quickbook-dev/tools/quickbook/src/actions.cpp (original)
+++ branches/quickbook-dev/tools/quickbook/src/actions.cpp 2011-12-07 04:43:43 EST (Wed, 07 Dec 2011)
@@ -1807,7 +1807,7 @@
}
}
// Walk through the dir for matches.
- fs::directory_iterator dir_i(dir);
+ fs::directory_iterator dir_i(dir.empty() ? fs::path(".") : dir);
fs::directory_iterator dir_e;
for (; dir_i != dir_e; ++dir_i)
{
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk