patching file sysdeps/mach/hurd/htl/pt-sigstate.c Hunk #1 FAILED at 30. Hunk #2 succeeded at 75 with fuzz 2 (offset 6 lines). 1 out of 2 hunks FAILED -- saving rejects to file sysdeps/mach/hurd/htl/pt-sigstate.c.rej Reject file sysdeps/mach/hurd/htl/pt-sigstate.c.rej: --- sysdeps/mach/hurd/htl/pt-sigstate.c +++ sysdeps/mach/hurd/htl/pt-sigstate.c @@ -30,30 +30,33 @@ __pthread_sigstate (struct __pthread *thread, int how, { error_t err = 0; struct hurd_sigstate *ss; + sigset_t old, new; sigset_t pending; + if (set != NULL) + new = *set; + ss = _hurd_thread_sigstate (thread->kernel_thread); assert (ss); _hurd_sigstate_lock (ss); - if (oset != NULL) - *oset = ss->blocked; + old = ss->blocked; if (set != NULL) { switch (how) { case SIG_BLOCK: - ss->blocked |= *set; + ss->blocked |= new; break; case SIG_SETMASK: - ss->blocked = *set; + ss->blocked = new; break; case SIG_UNBLOCK: - ss->blocked &= ~*set; + ss->blocked &= ~new; break; default: