update to memtester-4.6.0

This commit is contained in:
sthen 2023-01-27 12:22:34 +00:00
parent e04bac8531
commit b73ae3948a
5 changed files with 11 additions and 30 deletions

View File

@ -1,6 +1,6 @@
COMMENT= utility to test for memory faults
DISTNAME= memtester-4.5.1
DISTNAME= memtester-4.6.0
CATEGORIES= sysutils
HOMEPAGE= http://pyropus.ca/software/memtester/

View File

@ -1,2 +1,2 @@
SHA256 (memtester-4.5.1.tar.gz) = HF/COCV2wISzFM/TNNEnpmwgvWOJLKyfRFvB2LTKWkc=
SIZE (memtester-4.5.1.tar.gz) = 23655
SHA256 (memtester-4.6.0.tar.gz) = yf5Ot+gMjO9SAvkGXEwGgvVhZkfARV6RalcA+Y49uy4=
SIZE (memtester-4.6.0.tar.gz) = 24229

View File

@ -1,6 +1,7 @@
--- memtester.c.orig Sat Jun 9 23:45:22 2012
+++ memtester.c Fri Aug 26 23:32:43 2016
@@ -342,7 +342,7 @@ int main(int argc, char **argv) {
Index: memtester.c
--- memtester.c.orig
+++ memtester.c
@@ -343,7 +343,7 @@ int main(int argc, char **argv) {
wantbytes = wantbytes_orig;
break;
default:

View File

@ -1,5 +1,6 @@
--- sizes.h.orig Sun Feb 28 18:24:56 2010
+++ sizes.h Tue Feb 17 22:36:10 2015
Index: sizes.h
--- sizes.h.orig
+++ sizes.h
@@ -14,7 +14,7 @@
#include <limits.h>
@ -8,4 +9,4 @@
+#define rand32() arc4random()
#if (ULONG_MAX == 4294967295UL)
#define rand_ul() rand32()
#define FMT_TARGET "0x%08lx"

View File

@ -1,21 +0,0 @@
Index: tests.c
--- tests.c.orig
+++ tests.c
@@ -52,7 +52,7 @@ int compare_regions(ulv *bufa, ulv *bufb, size_t count
physaddr = physaddrbase + (i * sizeof(ul));
fprintf(stderr,
"FAILURE: 0x%08lx != 0x%08lx at physical address "
- "0x%08lx.\n",
+ "0x%08llx.\n",
(ul) *p1, (ul) *p2, physaddr);
} else {
fprintf(stderr,
@@ -93,7 +93,7 @@ int test_stuck_address(ulv *bufa, size_t count) {
physaddr = physaddrbase + (i * sizeof(ul));
fprintf(stderr,
"FAILURE: possible bad address line at physical "
- "address 0x%08lx.\n",
+ "address 0x%08llx.\n",
physaddr);
} else {
fprintf(stderr,