7 Nov
2023
7 Nov
'23
1:01 p.m.
On Tue Nov 7 12:26:23 2023 +0000, Piotr Caban wrote:
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. as I wrote in cover of MR, IMO the creation of per-entry allocation is done **after** the first \*putenv call
I'll rewrite the test & patch accordingly then -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4313#note_51321