Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern use SIGACTION() macro to get on appropriate sigaction



details:   https://anonhg.NetBSD.org/src/rev/8587b248ad6c
branches:  trunk
changeset: 499132:8587b248ad6c
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sun Nov 12 18:17:56 2000 +0000

description:
use SIGACTION() macro to get on appropriate sigaction
structure

diffstat:

 sys/kern/kern_synch.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r bc5f917e5455 -r 8587b248ad6c sys/kern/kern_synch.c
--- a/sys/kern/kern_synch.c     Sun Nov 12 15:40:19 2000 +0000
+++ b/sys/kern/kern_synch.c     Sun Nov 12 18:17:56 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_synch.c,v 1.97 2000/09/23 01:00:35 enami Exp $    */
+/*     $NetBSD: kern_synch.c,v 1.98 2000/11/12 18:17:56 jdolecek Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -498,7 +498,7 @@
 #endif
                if (relock && interlock != NULL)
                        simple_lock(interlock);
-               if ((p->p_sigacts->ps_sigact[sig].sa_flags & SA_RESTART) == 0)
+               if ((SIGACTION(p, sig).sa_flags & SA_RESTART) == 0)
                        return (EINTR);
                return (ERESTART);
        }



Home | Main Index | Thread Index | Old Index