History log of /haiku/headers/build/os/support/Errors.h
Revision Date Author Comments
# eb1d596f 19-Oct-2021 Augustin Cavalier <waddlesplash@gmail.com>

Remove B_FILE_NOT_FOUND from public headers.

Now that it is not used anywhere in the source tree following
previous commits.

Change-Id: Id2fc417a0658d09148e99587c613a928f1fbe4c2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4611
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 52b4ed60 14-Oct-2021 Jérôme Duval <jerome.duval@gmail.com>

Errors.h: add ENOTRECOVERABLE and EOWNERDEAD from POSIX

https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/errno.h.html
Change-Id: I3c0a08d447c897b3caba8d365f8e5dbab7869f18
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4573
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# b5c220fb 31-Jul-2018 Augustin Cavalier <waddlesplash@gmail.com>

build: Use BeOSBuildCompatibility on Haiku also.

This forces usage of the libroot_build wrapper functions even on GCC2.
Probably fixes some strange ExtractHPKGArchive failures on Haiku.


# 5e19679e 13-Dec-2017 Augustin Cavalier <waddlesplash@gmail.com>

build: Use libroot_build on Haiku.

Previously we just used the system libroot, which of course meant
that when libroot's ABI changed, the build broke. Now we use the full
libroot_build that we do on non-Haiku platforms. The logic for "BeOS-compatible
but not Haiku" does not really apply anymore, so it has been gutted where
appropriate (and libhaikucompat has been decoupled from the build.)

The only caveat here is the change to Errors.h -- we really should be using
the system's one where I included the one from the tree, but for whatever
reason, GCC2 refused to handle the #include_next properly.

Fixes the build breakage of Haiku-on-Haiku by my prior commits (sorry).


# 06b79f55 05-Dec-2017 Augustin Cavalier <waddlesplash@gmail.com>

build/Errors.h: Synchronize with the non-build one.

This file was apparenly based off the BeOS one (as is evidenced
by the "Be Incorporated" copyright ... which is problematic.)
Now it's directly based off of the non-build one.


# dec78bb2 20-Jun-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

Add new error codes B_PARTIAL_{READ,WRITE}


# aa4b5749 07-Jan-2014 Alexander von Gluck IV <kallisti5@unixzen.com>

runtime_loader: Detect and trigger on PE binaries

* Previously PE binaries would trigger the "incorrectly
executable" dialog. Now we get a special message for
B_LEGACY_EXECUTABLE and B_UNKNOWN_EXECUTABLE
* Legacy at the moment is a R3 x86 PE binary. This could
be extended to gcc2 binaries someday far, far, down the
road though
* The check for legacy is based on a PE flag I see
set on every R3 binary (that isn't set on dos ones)
* Unknown is something we know *is* an executable, but
can't do anything with (such as an MSDOS or Windows
application)
* No performance drops as we do the PE scan last
* Tested on x86 and x86_gcc2


# 7c447600 15-Aug-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added ENOATTR.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32425 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d1e58a8a 03-Jul-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Undefine ENOATTR. We redefine it below.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21545 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2d6d5298 20-Jun-2007 Jérôme Duval <korli@users.berlios.de>

Passed GENERAL_ERROR_BASE from LONG_MIN to INT_MIN (errors are uint32).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21475 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3b8715d8 28-Apr-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Provide a way to convert FS shell error codes to host platform error
codes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20890 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d307e812 07-Apr-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Added ENOATTR.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20607 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 338b8dc3 29-Oct-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Merged changes from branch build_system_redesign at revision 14573.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96


# dec78bb27cbfef8274399c82bfd8ce65f587f6f2 20-Jun-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

Add new error codes B_PARTIAL_{READ,WRITE}


# aa4b5749d64af0c0573513c27296af16f4680367 07-Jan-2014 Alexander von Gluck IV <kallisti5@unixzen.com>

runtime_loader: Detect and trigger on PE binaries

* Previously PE binaries would trigger the "incorrectly
executable" dialog. Now we get a special message for
B_LEGACY_EXECUTABLE and B_UNKNOWN_EXECUTABLE
* Legacy at the moment is a R3 x86 PE binary. This could
be extended to gcc2 binaries someday far, far, down the
road though
* The check for legacy is based on a PE flag I see
set on every R3 binary (that isn't set on dos ones)
* Unknown is something we know *is* an executable, but
can't do anything with (such as an MSDOS or Windows
application)
* No performance drops as we do the PE scan last
* Tested on x86 and x86_gcc2


# 7c44760049dcfc50a09571d68b70270256fff4c5 15-Aug-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added ENOATTR.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32425 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d1e58a8ab092bf7e3ff4f9c9d8d81e592343e1f5 03-Jul-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Undefine ENOATTR. We redefine it below.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21545 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2d6d529814d2f47302616a7eff49fa02c4ce5aa7 20-Jun-2007 Jérôme Duval <korli@users.berlios.de>

Passed GENERAL_ERROR_BASE from LONG_MIN to INT_MIN (errors are uint32).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21475 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3b8715d80426aded583ff893ded7deedcce1ad43 28-Apr-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Provide a way to convert FS shell error codes to host platform error
codes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20890 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d307e8123025fce40fe84165d8cab4d4172fec6c 07-Apr-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Added ENOATTR.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20607 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 338b8dc301721b1f472e8297a898d4eaa2f2ee3a 29-Oct-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Merged changes from branch build_system_redesign at revision 14573.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96