[haiku-commits] Re: r43025 - in haiku/trunk/src: add-ons/kernel/file_systems/bfs add-ons/kernel/file_systems/ext2 add-ons/kernel/file_systems/iso9660 add-ons/kernel/file_systems/userlandfs/server system/kernel/device_manager ...

  • From: "Michael Lotz" <mmlr@xxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 31 Oct 2011 12:10:30 +0100

"Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx> wrote:
> mmlr@xxxxxxxx wrote:
> > Log:
> > Align all filesystem relevant places to use B_UNSUPPORTED for
> > unsupported
> > instead of a mix of B_NOT_SUPPORTED and B_UNSUPPORTED. This allows
> > checking
> > for a specific error code. Probably one of those should be phased
> > out...
>
> How about phasing out B_NOT_SUPPORTED? 8-)

Ingo and I were just curious why you introduced it in the first place
(some 6 years ago)? Apparently Dano had it if the build compatibility
headers are any indication. Other than that it is more confusing than
anything else, so I'd be all for phasing it out. It is mapped to the
POSIX EOPNOTSUPP though, while B_UNSUPPORTED is simply in the storage
kit errors, so maybe there are uses where the POSIX error code is/was
relevant?

Regards
Michael

Other related posts: