kc3-lang/libressl/include/compat/sys

Branch :


Log

Author Commit Date CI Message
9ba4b33d 2025-04-16 04:26:34 change prefix for fstat
78b86a2a 2025-04-12 16:59:51 switch to using high bit for fd detection of file/socket
3467d6f2 2024-08-02 21:54:08 Attempt to fix 2038 problem with MSVC
3a757272 2023-07-05 07:08:32 move attribute shims There's not a great place for these, but since they are internal, we can just move them to the most common header.
fe903fb7 2022-04-15 23:48:50 Fix unreachable nc portability shim This fixes nc failing to run on darwin due to it incorrectly setting the linux-specific SOCK_NONBLOCK flag on connect. nc already had a portability shim in apps/nc/compat/sys/socket.h, which kicks in if SOCK_NONBLOCK is undefined. But that header includes include/compat/sys/socket.h, which also has a portability shim that defines a default value for SOCK_NONBLOCK if it's undefined. Thus the first portability shim was unreachable. Fixes this by moving the NEED_SOCKET_FLAGS flag into the outer shim, and having the inner shim activate if NEED_SOCKET_FLAGS is defined. This closes https://github.com/libressl-portable/portable/issues/631
461ec453 2020-09-13 12:58:37 Add queue.h tree.h _null.h Import queue.h tree.h _null.h header files from OpenBSD upstream since x509_issuer_cache.c requires them.
53524626 2019-02-09 09:03:13 add __dead__ annotation support
787d8d24 2018-05-19 17:31:42 __warn_references: tweak assembly for "gnu.warning" section On some targets ';' (like hppa) is treated as a comment in assembly files. This occasionally causes the following assembly failures: ``` Error: can't resolve `.gnu.warning.EVP_DecryptFinal' {.gnu.warning.EVP_DecryptFinal section} - `.Ltext0' {.text section} ``` Note how branch (or other reference) attempts to cross the boundary across two section types: '.text' and '.gnu.warning'. Tobias Ulmer notes that openbsd already uses newlines for similar macro: https://github.com/openbsd/src/blob/master/sys/arch/hppa/include/cdefs.h This change switches from ';' to newline as well. Tested on hppa2.0 and x86_64. Reported-by: Jeroen Roovers Bug: https://bugs.gentoo.org/656104 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
987aa6a0 2018-03-22 20:50:24 add clock_gettime for macos 10.11 and earlier
3681d022 2018-02-25 01:59:39 Add compat bits for libtls on Windows