SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
math/dieharder/patches/patch-dieharder_help_c
Normal file
12
math/dieharder/patches/patch-dieharder_help_c
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: dieharder/help.c
|
||||
--- dieharder/help.c.orig
|
||||
+++ dieharder/help.c
|
||||
@@ -32,7 +32,7 @@ void help()
|
||||
|
||||
/* printf("OK, what is dtest_num = %u\n",dtest_num);*/
|
||||
|
||||
- if(dh_test_types[dtest_num]){
|
||||
+ if(dtest_num >= 0 && dh_test_types[dtest_num]){
|
||||
fprintf(stdout,"%s",dh_test_types[dtest_num]->description);
|
||||
Exit(0);
|
||||
} else {
|
Loading…
Add table
Add a link
Reference in a new issue