[libcxx-commits] [PATCH] D56398: Add new EINTEGRITY errno

Dimitry Andric via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Oct 21 11:33:46 PDT 2019


dim added a comment.

Now that I'm reading this header again, why do we even bother to define `ELAST` at all?  On Linux, there is no such thing, while on BSDs and macOS, it is already provided by the regular `errno.h`.

I also don't see why we would define `EOWNERDEAD`, `ENOTRECOVERABLE` and so on in this difficult way, if they are not defined by the system's `errno.h`.  Could we just not use the same system as further down below, where we assign hopefully unique integer values over 9000?


Repository:
  rCXX libc++

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56398/new/

https://reviews.llvm.org/D56398





More information about the libcxx-commits mailing list