Boost logo

Boost :

From: Martin Bonner (martin.bonner_at_[hidden])
Date: 2005-03-17 11:59:17


----Original Message----
From: Robert Mathews [mailto:rmathews_at_[hidden]]
Sent: 17 March 2005 14:56
To: boost_at_[hidden]
Subject: [boost] Re: [Boost-bugs] [ boost-Bugs-1164057
]boost::filesystem::exists has bugs with UNC paths

>> Initial Comment:
>> boost::filesystem::exists(path("//computer")) always
>> fails, even if the computer exists.

I shall call this, Issue A.

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

... and this Issue B.

> Can anyone actually comment on when or if this bug might actually get
> fixed? It's an obvious bug, the fix is a trivial amount of work - it
> comes with a patch that I've tested on Win32 ....

Well, as I have indicated above, there are two separate and distinct issues.

Issue B does seem like a bug to me. On the other hand, does your fix change
it so that //computer/printer is reported as a filesystem? That would be a
step backwards.

Issue A seems correct behaviour to me. A server is *not* a filesystem - it
is a place that filesystems can be found.

-- 
Martin Bonner
Martin.Bonner_at_[hidden]
Pi Technology, Milton Hall, Ely Road, Milton, Cambridge, CB4 6WZ,
ENGLAND Tel: +44 (0)1223 441434

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