7 Nov
2023
7 Nov
'23
12:26 p.m.
Piotr Caban (@piotr) commented about dlls/msvcrt/tests/environ.c:
break; } } + + /* force change in _environ[], seems like native needs a first update to set allocation per entry */
It suggest we're missing something. Please add following test to show that it initially returns environment block address: `ok(envp == *p_environ, "envp = %p, *p_environ = %p\n", envp, *p_environ);` It will also make some of our current test redundant since there's no need to compare envp and p_environ content if it points to the same buffer. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4313#note_51310