Re: [PATCH v2 0/1] MR4552: msvcrt: Initialize both ANSI and Unicode environments in both putenv() functions.
30 Nov
2023
30 Nov
'23
11:06 a.m.
On Thu Nov 30 11:03:15 2023 +0000, Zebediah Figura wrote:
If you remove the line "_putenv("cat=")" from the test, it fails the same way on Windows. This implies that native is detecting when the environment has been modified *back* to its initial state and undoing the reallocation in that case. That strikes me as a little insane; do we care about implementing that behaviour? I don't see such behavior. Could you please describe in more detail what have you tested (preferably attaching tests diff)? It's unlikely that native restores to initial environment in such case.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4552#note_54383
826
Age (days ago)
826
Last active (days ago)
0 comments
1 participants
participants (1)
-
Piotr Caban (@piotr)