Secret printing in libraries and shell and silencing randcall.

This commit is contained in:
Geoffrey Challen committed 2016-01-01 11:47:43 -05:00
1 parent a2b15b77aa
commit 036cae3982
5 files changed
+44 -4

No files matched your search

+2 -2
View File
@@ -67,7 +67,7 @@ awk < $1 '
if (i<NF) printf ", ";
}
printf ");\n";
printf"\tprintf(\"%%-47s\", buf);\n";
printf"\ttprintf(\"%%-47s\", buf);\n";
#printf "\tfflush(stdout);\n";
printf "\n";
@@ -88,7 +88,7 @@ awk < $1 '
}
printf ");\n";
printf "\tprintf(\" result %%d, errno %%d\\n\", result, errno);\n";
printf "\ttprintf(\" result %%d, errno %%d\\n\", result, errno);\n";
printf "\tif (dofork) {\n";
printf "\t\texit(0);\n";
printf "\t}\n";
+1 -1
View File
@@ -157,7 +157,7 @@ main(int argc, char *argv[])
}
}
printf("Seed: %d Count: %d\n", seed, count);
tprintf("Seed: %d Count: %d\n", seed, count);
srandom(seed);
trycalls(an, dofork, count);