Revert "Merging in 1.0.2."

This reverts commit 50cf3276e7.
This commit is contained in:
Geoffrey Challen
2017-01-09 22:52:13 -05:00
parent 50cf3276e7
commit e318e3171e
118 changed files with 3158 additions and 1350 deletions

View File

@@ -34,6 +34,7 @@ awk < $1 '
printf "#include <stdlib.h>\n";
printf "#include <errno.h>\n";
printf "#include <err.h>\n";
printf "#include <test161/test161.h>\n";
printf "\n";
printf "#include \"extern.h\"\n";
printf "\n";
@@ -67,7 +68,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 +89,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";
@@ -134,9 +135,11 @@ awk < $1 '
printf "\tfor (i=0; i<count; i++) {\n";
printf "\t\tfor (j=0; list[j]; j++) {\n";
printf "\t\t\tnprintf(\".\");\n";
printf "\t\t\t(*list[j])(dofork);\n";
printf "\t\t}\n";
printf "\t}\n";
printf "nprintf(\"\\n\");\n";
printf "}\n";
printf "\n";
}