wine/dlls/mscoree
Francois Gouget c11e923422 mscoree/tests: Avoid temporary directory name collisions.
test_loadpaths_execute() was sometimes getting ERROR_ALREADY_EXISTS when
creating its temporary directoryi. That was probably because
GetTempFileNameW() only uses the low 16-bits of the 'random' LUID which
goes over a wider range, potentially leading to collisions in the lower
16-bits.
Avoid AllocateLocallyUniqueId() entirely and add a helper function to
create a guaranteed new directory.
Also try to use the current directory first as it is assumed to have
been configured to ward off anti-virus programs (specifically
Microsoft Defender) which is especially important when writing
executables to that location. Only switch to the system's temporary
directory if the current directory is not a writable location.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54560
2023-03-20 21:01:58 +01:00
..
tests mscoree/tests: Avoid temporary directory name collisions. 2023-03-20 21:01:58 +01:00
assembly.c mscoree: Use standard C functions for memory allocation in assembly.c. 2022-11-10 09:46:23 +01:00
config.c
cordebug.c
corruntimehost.c mscoree: Avoid using pointer after free. 2022-06-15 11:53:29 +02:00
Makefile.in
metadata.c
metahost.c
mscoree.spec mscoree: Add StrongNameTokenFromAssembly stub. 2022-11-14 13:13:01 +01:00
mscoree_classes.idl
mscoree_main.c mscoree: Add StrongNameTokenFromAssembly stub. 2022-11-14 13:13:01 +01:00
mscoree_private.h mscoree: Update Wine Mono to 7.4.0. 2022-10-25 18:40:49 +02:00