From: Ulrich Drepper Date: Fri, 1 May 1998 14:14:28 +0000 (+0000) Subject: Update. X-Git-Tag: upstream/2.30~28514 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f9119f49a610d9bcec19c607c19d33b4148a7a0f;p=external%2Fglibc.git Update. 1998-05-01 Ulrich Drepper * manager.c (pthread_free): Unmap guard before the stack. Patch by Matthias Urlichs. --- diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index 4f0c67e..a834b31 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,8 @@ +1998-05-01 Ulrich Drepper + + * manager.c (pthread_free): Unmap guard before the stack. + Patch by Matthias Urlichs. + 1998-04-30 Ulrich Drepper * manager.c (pthread_free): Detect already free child. diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c index 8167439..e7de399 100644 --- a/linuxthreads/manager.c +++ b/linuxthreads/manager.c @@ -336,9 +336,9 @@ static void pthread_free(pthread_descr th) if (!th->p_userstack) { /* Free the stack and thread descriptor area */ - munmap((caddr_t) ((char *)(th+1) - STACK_SIZE), STACK_SIZE); if (th->p_guardsize != 0) munmap(th->p_guardaddr, th->p_guardsize); + munmap((caddr_t) ((char *)(th+1) - STACK_SIZE), STACK_SIZE); } }