From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-12-16 12:14:39
From: "Beman Dawes" <bdawes_at_[hidden]>
> At 08:35 AM 12/16/2002, Peter Dimov wrote:
> >To clarify: the current situation requires the filesystem library to
> >interpret system-specific error codes. Adopting the POSIX values would
> >eliminate that need on some important platforms, with no downsides.
> Just to be sure that I understand your proposal, are you saying that the
> library's not_directory_error should have the same numerical value as the
> POSIX ENOTDIR macro?
> Is there any practical way to do that without including <cerrno> in the
> exception.hpp header?
No, I think there isn't. :-) Not all implementations agree on the value of
I think that we also need to consider the problem of translating a
filesystem_error to a localized error message.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk