slackbuilds_ponce/system/memtest86+/patches/memtest86+-test-7-smp.patch
Kyle Guinn 898d490968
system/memtest86+: Updated for version 5.01.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
2019-04-06 07:03:01 +07:00

29 lines
638 B
Diff

--- a/test.c
+++ b/test.c
@@ -1202,7 +1202,7 @@ void block_move(int iter, int me)
} else {
pe = end;
}
- if (pe >= end) {
+ if ((pe >= end && end != 0) || (pe < p && end == 0)) {
pe = end;
done++;
}
@@ -1280,7 +1280,7 @@ void block_move(int iter, int me)
} else {
pe = end;
}
- if (pe >= end) {
+ if ((pe >= end && end != 0) || (pe < p && end == 0)) {
pe = end;
done++;
}
@@ -1359,7 +1359,7 @@ void block_move(int iter, int me)
} else {
pe = end;
}
- if (pe >= end) {
+ if ((pe >= end && end != 0) || (pe < p && end == 0)) {
pe = end;
done++;
}