1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/benchmarks/rawio/files/patch-aa
2000-01-22 11:03:46 +00:00

19 lines
488 B
Plaintext

--- rawio.c.orig Sat Jan 1 17:44:16 2000
+++ rawio.c Sat Jan 22 02:58:36 2000
@@ -551,10 +551,14 @@
void dochild (int test, int proc)
{
sigset_t allsigs;
- struct sigaction ignore = {{sigcatch}, 0, allsigs};
+ 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,