about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/sigprocmask.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-01-02 10:52:56 +0000
committerRoland McGrath <roland@gnu.org>2002-01-02 10:52:56 +0000
commit05dea6d10c72d7604d289eca4d39dadeda7e88ac (patch)
treed8ec85083fef50360592c88b5238527e66da9661 /sysdeps/mach/hurd/sigprocmask.c
parent2fee5d8b20b1004e117a89ce63df2427fcabc342 (diff)
downloadglibc-05dea6d10c72d7604d289eca4d39dadeda7e88ac.tar.gz
glibc-05dea6d10c72d7604d289eca4d39dadeda7e88ac.tar.xz
glibc-05dea6d10c72d7604d289eca4d39dadeda7e88ac.zip
* sysdeps/mach/hurd/sigwait.c (__sigwait): Use __sigandset,
	__sigisemptyset.  Don't use MASK uninitialized.

	* sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Use __sigorset.
	* hurd/hurdinit.c (_hurd_new_proc_init): Use __sigisemptyset.
	* hurd/hurdsig.c (_hurd_internal_post_signal): Use __sigismember,
	__sigdelset, __sigaddset, __sigorset.
Diffstat (limited to 'sysdeps/mach/hurd/sigprocmask.c')
-rw-r--r--sysdeps/mach/hurd/sigprocmask.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/sigprocmask.c b/sysdeps/mach/hurd/sigprocmask.c
index f65dbd5e17..cbb5ecce2e 100644
--- a/sysdeps/mach/hurd/sigprocmask.c
+++ b/sysdeps/mach/hurd/sigprocmask.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,93,94,95,96,97,2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -49,7 +49,7 @@ __sigprocmask (how, set, oset)
       switch (how)
 	{
 	case SIG_BLOCK:
-	  ss->blocked |= new;
+	  __sigorset (&ss->blocked, &ss->blocked, &new);
 	  break;
 
 	case SIG_UNBLOCK: