Opened 18 years ago
Closed 17 years ago
#367 closed Bugs (Fixed)
boost::filesystem::exists has bugs with UNC paths
Reported by: | nobody | Owned by: | beman_dawes |
---|---|---|---|
Milestone: | Component: | filesystem | |
Version: | None | Severity: | |
Keywords: | Cc: |
Description
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)
Note:
See TracTickets
for help on using tickets.