Boost logo

Boost :

From: SourceForge.net (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:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1259176&group_id=7586

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);
is_directory(it);

throws an exception which says
"boost::filesystem::is_directory "C:some_file.foo": 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:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1259176&group_id=7586

-------------------------------------------------------
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 * http://www.sqe.com/bsce5sf
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk