ports/benchmarks/rawio/files/patch-aa
Steve Price b7e4c10bea 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. :)
1999-11-14 03:18:49 +00:00

18 lines
486 B
Text

--- 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,