/usr/lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld: CMakeFiles/map_extract.dir/objects.a(json.c.obj):json.c:(.text+0x10b8): undefined reference to `__chk_fail'
/usr/lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld: CMakeFiles/map_extract.dir/objects.a(system.c.obj):system.c:(.text+0x1c2): undefined reference to `__memcpy_chk'
fbbf7b3
Fix MinGW build by temporarily disabling FORTIFY_SOURCE (fixes #2001) - def-shell_execute
the updated client before we CClient::Quit()
the old one, there is a chance that as the new one wants to read the config, the old one could be writing the config, nuking the old config as soon as you quit the new client.
This is because windows opens files exclusively. I think we should instead set a restart flag and only shell_execute
right before the client shuts down.