Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2005-03-15 17:02:15


Bugs item #1164057, was opened at 2005-03-15 14:02
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=1164057&group_id=7586

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: boost::filesystem::exists has bugs with UNC paths

Initial Comment:
boost::filesystem::exists(path("//computer")) always
fails, even if the computer exists.
boost::filesystem::exists(path("//computer/share"))
always succeeds, even if the share doesn't exist.

The attached patch fixes this by:
- always succeeding for //computer (this is better than
always failing)
- correctly detecting the existance or not of a share.
(The problem here was that the code was missing an
error code check)

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1164057&group_id=7586

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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