From e8bceaee41f3dc2382196c5457b9eee0980d835c Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 11 Jul 2001 21:15:50 +0000 Subject: 2001-07-11 Igor Khavkine * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code. 2001-07-07 Roland McGrath * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0. --- hurd/hurdsig.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hurd') diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c index deeeaf9f71..b6851d86a6 100644 --- a/hurd/hurdsig.c +++ b/hurd/hurdsig.c @@ -91,7 +91,7 @@ _hurd_thread_sigstate (thread_t thread) __sigemptyset (&ss->pending); memset (&ss->sigaltstack, 0, sizeof (ss->sigaltstack)); ss->preemptors = NULL; - ss->suspended = 0; + ss->suspended = MACH_PORT_NULL; ss->intr_port = MACH_PORT_NULL; ss->context = NULL; @@ -1243,7 +1243,6 @@ _hurdsig_init (const int *intarray, size_t intarraysize) err = __thread_create (__mach_task_self (), &_hurd_msgport_thread); assert_perror (err); - stacksize = ~__hurd_threadvar_stack_mask + 1; stacksize = __vm_page_size * 8; /* Small stack for signal thread. */ err = __mach_setup_thread (__mach_task_self (), _hurd_msgport_thread, _hurd_msgport_receive, -- cgit 1.4.1