reactos/sdk/lib/crt
Joachim Henze e692c0d258 [0.4.9][CRT] Always initialize _[w]pgmptr with a *FULL* path to the current application CORE-12931
Otherwise fall back to the computed argv[0].
This is expected by some applications, for example Git.
Code is adapted from Wine.

Many thanks to Stanislav Motylkov for having investigated this bug!

fixes CORE-12931 and all its duplicates: CORE-13892 CORE-13898 CORE-14066

Fix picked from 0.4.10-dev-201-g f215f394d8
2022-10-07 02:15:52 +02:00
..
conio
direct
except
float
include [CRT] Update file descriptor handling to match Wine (3/7). CORE-14504 2018-03-26 13:00:15 +02:00
locale
math
mbstring
mem
misc [0.4.9][CRT] Always initialize _[w]pgmptr with a *FULL* path to the current application CORE-12931 2022-10-07 02:15:52 +02:00
printf [CRT] Implement the missing CRT _sc(w)printf() functions. CORE-14497 2018-03-23 22:30:18 +01:00
process
search
setjmp
signal
startup [CRT:STARTUP] Fix a Clang-Cl warning about GS_ExceptionPointers 2018-02-10 18:13:12 +01:00
stdio [0.4.9][CRT] Do Not lock ioinfo when spawning functions (#4099) CORE-15176 2022-01-09 09:30:15 +01:00
stdlib [0.4.9] cherry-pick [CRT] Reimplement qsort() using FreeBSD implementation. 2018-06-03 14:37:28 +02:00
string [0.4.9][CRT] Fix 2 MSVC compiler warnings CORE-17812 2022-03-18 21:30:12 +01:00
sys_stat
time [CRT] Update file descriptor handling to match Wine (3/7). CORE-14504 2018-03-26 13:00:15 +02:00
wine
wstring
CMakeLists.txt
crt.cmake [CRT] Implement the missing CRT _sc(w)printf() functions. CORE-14497 2018-03-23 22:30:18 +01:00
libcntpr.cmake
moldname-msvcrt.def
msvcrtex.cmake
oldnames-msvcrt.S
oldnames.cmake
precomp.h
README.txt

Big chunks of this CRT library are taken from Wine's msvcrt implementation,
you can find a list of synced files in README.WINE file.

Notes:
1. When syncing, omit MSVCRT_ prefix where possible, Wine has to keep this
because they are linking with *both* original crt, and ms crt implementation.
ReactOS has the only CRT, so no need to make distinct functions.
2. ReactOS compiles two versions of the CRT library, one for usermode
(called just "crt"), and one version for kernelmode usage (called "libcntpr").
In order to separate the code, you can use #ifdef _LIBCNT_ for libcntpr code.