Sweden-Number/dlls/ntdll
Martin Storsjo 044461e8a6 ntdll: Avoid truncating a nonzero exit code to zero in unix.
On Windows, the exit codes can use the full 32 bit range, while
on unix, they are truncated to the lowest 8 bits. If the intended
exit code is nonzero, to indicate failure, but the lower 8 bits
are zero (like when winedbg tries to exit with EXCEPTION_WINE_STUB,
80000100), the observed exit code used to be zero, indicating
successful execution.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-15 22:04:39 +02:00
..
tests ntdll: Initialize critical section debug info with correct pointer value. 2019-04-30 20:08:04 +02:00
Makefile.in
actctx.c ntdll: Use strncmpiW instead of memicmpW for strings without embedded nulls. 2019-05-08 08:34:32 -05:00
atom.c
cdrom.c Avoid using Windows includes that are already handled in wine/port.h. 2019-03-12 20:19:00 +01:00
critsection.c ntdll: Initialize critical section debug info with correct pointer value. 2019-04-30 20:08:04 +02:00
debugbuffer.c
debugtools.c ntdll: Store offsets instead of pointers in the debug_info structure. 2019-04-03 19:28:19 +02:00
directory.c ntdll: Use strncmpiW instead of memicmpW for strings without embedded nulls. 2019-05-08 08:34:32 -05:00
env.c ntdll: Recreate the process parameters structure once everything has been initialized. 2019-02-13 19:45:24 +01:00
error.c
exception.c ntdll: Define IsBadStringPtr to handle exceptions in debug traces. 2019-04-04 11:34:04 +02:00
file.c ntdll: Avoid crashing while tracing parameters to NtCreateNamedPipeFile(). 2019-04-08 09:55:23 +02:00
handletable.c
heap.c ntdll: Avoid using DPRINTF(). 2019-04-08 19:34:09 +02:00
large_int.c include: Move inline assembly definitions to a new wine/asm.h header. 2019-05-14 13:45:07 +02:00
loader.c ntdll: Avoid truncating a nonzero exit code to zero in unix. 2019-05-15 22:04:39 +02:00
loadorder.c ntdll: Pass an NT filename to get_load_order(). 2019-02-08 22:19:47 +01:00
misc.c
nt.c ntdll: Use the correct type for %llu scanf format. 2019-04-23 23:50:45 +02:00
ntdll.spec ntdll: Implement RtlGetSystemTimePrecise(). 2019-05-14 20:24:45 +02:00
ntdll_misc.h ntdll: Avoid truncating a nonzero exit code to zero in unix. 2019-05-15 22:04:39 +02:00
om.c Avoid using Windows includes that are already handled in wine/port.h. 2019-03-12 20:19:00 +01:00
path.c
printf.c ntdll: Use NTDLL_tolower instead of toupper. 2019-03-26 13:50:22 +01:00
process.c ntdll: Avoid truncating a nonzero exit code to zero in unix. 2019-05-15 22:04:39 +02:00
reg.c ntdll: Add DECLSPEC_HOTPATCH to NtQueryValueKey. 2019-04-19 12:02:58 +02:00
relay.c ntdll: Use _stricmp instead of strcasecmp. 2019-03-26 13:50:20 +01:00
resource.c include: Move inline assembly definitions to a new wine/asm.h header. 2019-05-14 13:45:07 +02:00
rtl.c include: Define fastcall assembly wrappers globally. 2019-05-15 19:59:33 +02:00
rtlbitmap.c
rtlstr.c ntdll: Default to 7-bit ASCII before codepages are initialized. 2019-03-22 19:45:39 +01:00
sec.c
serial.c Avoid using Windows includes that are already handled in wine/port.h. 2019-03-12 20:19:00 +01:00
server.c server: Fix process trace_data initialization race on Mac. 2019-01-08 10:20:02 -06:00
signal_arm.c ntdll: Reuse signal to trap translation for FreeBSD on ARM. 2019-04-22 19:48:28 +02:00
signal_arm64.c ntdll: Add stub for RtlInstallFunctionTableCallback on ARM/ARM64. 2019-04-01 23:25:49 +02:00
signal_i386.c ntdll: Mark 'float_status' as input operand in save_fpu(). 2019-03-06 18:28:20 +01:00
signal_powerpc.c ntdll: Rename attach_dlls() to LdrInitializeThunk(). 2019-02-14 17:57:09 +01:00
signal_x86_64.c ntdll: Fix breakpoint exception address on 64-bit Linux. 2019-05-15 22:04:39 +02:00
string.c ntdll: Use RtlUpperChar in _strupr implementation. 2019-03-27 22:01:07 +01:00
sync.c ntdll: Add support for returning previous state argument in event functions. 2019-03-12 20:34:35 +01:00
tape.c
thread.c ntdll: Avoid truncating a nonzero exit code to zero in unix. 2019-05-15 22:04:39 +02:00
threadpool.c ntdll/threadpool: Add support for callback priority. 2019-03-13 10:59:50 +01:00
time.c ntdll: Use CLOCK_REALTIME_COARSE for NtQuerySystemTime() if it has sufficient resolution. 2019-05-14 20:26:46 +02:00
version.c
version.rc
virtual.c server: Add flag for builtin dlls in the image information. 2019-04-22 11:34:25 +02:00
wcstring.c