summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-11-14 03:18:49 +0000
committersteve <steve@FreeBSD.org>1999-11-14 03:18:49 +0000
commitfe772b4ab2c86bbd3219073d971edb6e38b1b6ec (patch)
tree607c852cfad5412543ca8fd0e84730c3810749dd
parent1a05e93e3bf33f39f53933f905d052840db2026b (diff)
downloadFreeBSD-ports-fe772b4ab2c86bbd3219073d971edb6e38b1b6ec.zip
FreeBSD-ports-fe772b4ab2c86bbd3219073d971edb6e38b1b6ec.tar.gz
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. :)
-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 0000000..e5af0bb
--- /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,
OpenPOWER on IntegriCloud