about summary refs log tree commit diff
path: root/hurd
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-07-11 21:15:50 +0000
committerRoland McGrath <roland@gnu.org>2001-07-11 21:15:50 +0000
commite8bceaee41f3dc2382196c5457b9eee0980d835c (patch)
treef3f3ddb8130d690e455037ae94f5a8e67dcb96f1 /hurd
parent0e2bd6fdaca1d9666a3201b7d32019e928e99876 (diff)
downloadglibc-e8bceaee41f3dc2382196c5457b9eee0980d835c.tar.gz
glibc-e8bceaee41f3dc2382196c5457b9eee0980d835c.tar.xz
glibc-e8bceaee41f3dc2382196c5457b9eee0980d835c.zip
2001-07-11 Igor Khavkine <i_khavki@alcor.concordia.ca>
        * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
2001-07-07  Roland McGrath  <roland@frob.com>

	* hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurdsig.c3
1 files changed, 1 insertions, 2 deletions
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,