SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
sysutils/memtester/patches/patch-sizes_h
Normal file
12
sysutils/memtester/patches/patch-sizes_h
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: sizes.h
|
||||
--- sizes.h.orig
|
||||
+++ sizes.h
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
-#define rand32() ((unsigned int) rand() | ( (unsigned int) rand() << 16))
|
||||
+#define rand32() arc4random()
|
||||
|
||||
#if (ULONG_MAX == 4294967295UL)
|
||||
#define FMT_TARGET "0x%08lx"
|
Loading…
Add table
Add a link
Reference in a new issue