Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2005-08-14 13:34:59

Bugs item #1259176, was opened at 2005-08-14 11:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: filesystem
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Beman Dawes (beman_dawes)
Summary: path and directory_iterator doesn't handle windows root path

Initial Comment:
directory_iterator does not append '\' to a windows
root path correctly.
The following Code

using namespace boost::filesystem;
path p("C:",native);
directory_iterator it(p);

throws an exception which says
"boost::filesystem::is_directory "": The
system cannot find the given file."
If I use C:\ it works. If I use a non root directory
like C:\some_directory it works too.


You can respond by visiting:

SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement *
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at