cmake: run tests in parallel; misc/podman: add 30-rebuild-stubs.sh

This commit is contained in:
Markus F.X.J. Oberhumer
2024-04-26 10:36:01 +02:00
parent 0e6478a60f
commit ddf2da3d76
11 changed files with 228 additions and 129 deletions
+1
View File
@@ -264,6 +264,7 @@ int upx_rand(void) noexcept { return ::rand(); }
void upx_rand_init(void) noexcept {
unsigned seed = 0;
seed ^= UPX_VERSION_HEX;
#if (!HAVE_GETTIMEOFDAY || (ACC_OS_DOS32 && defined(__DJGPP__))) && !defined(__wasi__)
seed ^= (unsigned) time(nullptr);
seed ^= ((unsigned) clock()) << 12;