summaryrefslogtreecommitdiff
path: root/benchmarks/rawio
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-11-14 03:18:49 +0000
committerSteve Price <steve@FreeBSD.org>1999-11-14 03:18:49 +0000
commitb7e4c10bea22f66020f5a49668661a3a6c0c056d (patch)
treeb4d8a8698741822aa5bdeb6679369cbc0bbc2c81 /benchmarks/rawio
parentActivate xmixer (diff)
Make this compile again in light of the recent signal changes. This is
no fault of Marcel's changes but rather poor style. Bruce gives a much longer version but I won't repeat that here. :)
Diffstat (limited to 'benchmarks/rawio')
-rw-r--r--benchmarks/rawio/files/patch-aa18
1 files changed, 18 insertions, 0 deletions
diff --git a/benchmarks/rawio/files/patch-aa b/benchmarks/rawio/files/patch-aa
new file mode 100644
index 000000000000..e5af0bb39de7
--- /dev/null
+++ b/benchmarks/rawio/files/patch-aa
@@ -0,0 +1,18 @@
+--- rawio.c.orig Sat Jul 24 19:45:14 1999
++++ rawio.c Sat Nov 13 10:47:50 1999
+@@ -493,10 +493,14 @@
+ void dochild (int test, int proc)
+ {
+ sigset_t allsigs;
+- struct sigaction ignore = {sigcatch, allsigs, 0};
++ struct sigaction ignore;
+ int mycount;
+ int i;
+ int maxrecs;
++
++ ignore.sa_handler = sigcatch;
++ ignore.sa_flags = 0;
++ ignore.sa_mask = allsigs;
+
+ /* first, calculate the number of records to transfer.
+ * If we're one of the first <remainder> processes,