summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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