From: "Beman Dawes" <[EMAIL PROTECTED]>
> 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?

Yes.

> 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
ENOTDIR, unfortunately.

I think that we also need to consider the problem of translating a
filesystem_error to a localized error message.

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to