Sweden-Number/dlls/ntdll/unix
Jinoh Kang e60fdbf124 ntdll: Properly test for LLVM libunwind error codes.
Commit f37b953e07 (ntdll: Support both HP-UX-like libunwind and LLVM
libunwind error codes., 2021-12-10) made an unsuccessful attempt to fix
UNW_ENOINFO detection on LLVM libunwind.  It turns out that UNW_ENOINFO
is actually negative in LLVM, so there's no need to flip the sign.

Fix this by flipping the return value sign only when UNW_ENOINFO < 0
(LLVM libunwind), and then comparing it against the negated error code.
Overall, all flavours of libunwind return a negative value on error.

Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-10 22:00:17 +01:00
..
cdrom.c configure: Assume that sys/ioctl.h is available on Unix. 2021-12-09 18:43:51 +01:00
debug.c ntdll: Avoid including wine/port.h. 2021-10-20 16:16:07 +02:00
env.c configure: Assume that unistd.h is available on Unix. 2021-12-09 18:43:51 +01:00
file.c configure: Assume that sys/ioctl.h is available on Unix. 2021-12-09 18:43:51 +01:00
loader.c configure: Assume that sys/wait.h is available on Unix. 2021-12-09 18:43:51 +01:00
loadorder.c
process.c configure: Assume that sys/wait.h is available on Unix. 2021-12-09 18:43:51 +01:00
registry.c
security.c
serial.c configure: Assume that sys/ioctl.h is available on Unix. 2021-12-09 18:43:51 +01:00
server.c configure: Assume that sys/wait.h is available on Unix. 2021-12-09 18:43:51 +01:00
signal_arm.c ntdll: Properly test for LLVM libunwind error codes. 2021-12-10 22:00:17 +01:00
signal_arm64.c ntdll: Properly test for LLVM libunwind error codes. 2021-12-10 22:00:17 +01:00
signal_i386.c ntdll: Temporarily allow KeUserModeCallback calls from client stack. 2021-12-09 10:47:41 +01:00
signal_x86_64.c ntdll: Properly test for LLVM libunwind error codes. 2021-12-10 22:00:17 +01:00
socket.c configure: Assume that sys/ioctl.h is available on Unix. 2021-12-09 18:43:51 +01:00
sync.c configure: Assume that sys/time.h is available on Unix. 2021-12-09 18:43:51 +01:00
system.c configure: Assume that sys/time.h is available on Unix. 2021-12-09 18:43:51 +01:00
tape.c configure: Assume that sys/ioctl.h is available on Unix. 2021-12-09 18:43:51 +01:00
thread.c configure: Assume that sys/mman.h is available on Unix. 2021-12-09 18:43:51 +01:00
unix_private.h ntdll: Remove __wine_init_unix_lib() and the old Unix library interface. 2021-12-09 17:14:59 +01:00
virtual.c configure: Assume that sys/socket.h is available on Unix. 2021-12-09 18:43:51 +01:00