Sweden-Number/dlls/ntdll
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
..
tests server: Fix querying debug port with restricted DACL. 2021-12-09 17:14:59 +01:00
unix ntdll: Properly test for LLVM libunwind error codes. 2021-12-10 22:00:17 +01:00
Makefile.in makefiles: Support per-platform values for EXTRADLLFLAGS. 2021-12-02 20:20:39 +01:00
actctx.c
atom.c
crypt.c
debugbuffer.c
env.c
error.c
error.h
exception.c
handletable.c
heap.c
large_int.c
loader.c ntdll: Remove __wine_init_unix_lib() and the old Unix library interface. 2021-12-09 17:14:59 +01:00
locale.c
make_errors
math.c
misc.c
ntdll.spec ntdll: Remove __wine_init_unix_lib() and the old Unix library interface. 2021-12-09 17:14:59 +01:00
ntdll_misc.h ntdll: Add support for dispatching exception from 32-bit code in Wow64 mode. 2021-12-01 18:13:53 +01:00
path.c
printf.c
printf.h
process.c
reg.c
relay.c
resource.c
rtl.c ntdll: Add stub RtlLookupElementGenericTable function. 2021-12-02 20:20:39 +01:00
rtlbitmap.c
rtlstr.c
sec.c
signal_arm.c ntdll: Fix valid frame address range in ARM/ARM64. 2021-12-09 17:14:59 +01:00
signal_arm64.c ntdll: Fix valid frame address range in ARM/ARM64. 2021-12-09 17:14:59 +01:00
signal_i386.c
signal_x86_64.c ntdll: Add support for dispatching exception from 32-bit code in Wow64 mode. 2021-12-01 18:13:53 +01:00
string.c
sync.c
thread.c
threadpool.c
time.c
unixlib.h ntdll: Remove __wine_init_unix_lib() and the old Unix library interface. 2021-12-09 17:14:59 +01:00
version.c
version.rc
wcstring.c