Make ANSI mode closer to being ANSI

This commit is contained in:
Justine Tunney
2021-02-03 17:14:17 -08:00
parent 28135b7a20
commit 46085797b6
23 changed files with 352 additions and 92 deletions

View File

@@ -31,7 +31,7 @@ textstartup static void g_rando32_init() {
for (; *auxvp; auxvp += 2) {
if (*auxvp == AT_RANDOM) {
uint8_t(*sysrandseed)[16] = (uint8_t(*)[16])auxvp[1];
if (sysrandseed) g_rando32 ^= read32le(&(*sysrandseed)[8]);
if (sysrandseed) g_rando32 ^= READ32LE(&(*sysrandseed)[8]);
return;
}
}